Class: Apiculture::PossibleResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



37
38
39
# File 'lib/apiculture.rb', line 37

def description
  @description
end

#http_status_codeObject

Returns the value of attribute http_status_code

Returns:

  • (Object)

    the current value of http_status_code



37
38
39
# File 'lib/apiculture.rb', line 37

def http_status_code
  @http_status_code
end

#jsonable_object_exampleObject

Returns the value of attribute jsonable_object_example

Returns:

  • (Object)

    the current value of jsonable_object_example



37
38
39
# File 'lib/apiculture.rb', line 37

def jsonable_object_example
  @jsonable_object_example
end

Instance Method Details

#no_body?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/apiculture.rb', line 38

def no_body?
  jsonable_object_example.nil?
end