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



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

def description
  @description
end

#http_status_codeObject

Returns the value of attribute http_status_code

Returns:

  • (Object)

    the current value of http_status_code



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

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



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

def jsonable_object_example
  @jsonable_object_example
end

Instance Method Details

#no_body?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/apiculture.rb', line 40

def no_body?
  jsonable_object_example.nil?
end