Class: SemaphoreClient::Exceptions::ApiError

Inherits:
Struct
  • Object
show all
Defined in:
lib/semaphore_client/exceptions.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



3
4
5
# File 'lib/semaphore_client/exceptions.rb', line 3

def code
  @code
end

#fieldObject

Returns the value of attribute field

Returns:

  • (Object)

    the current value of field



3
4
5
# File 'lib/semaphore_client/exceptions.rb', line 3

def field
  @field
end

#resourceObject

Returns the value of attribute resource

Returns:

  • (Object)

    the current value of resource



3
4
5
# File 'lib/semaphore_client/exceptions.rb', line 3

def resource
  @resource
end