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:

  • the current value of description



46
47
48
# File 'lib/apiculture.rb', line 46

def description
  @description
end

#http_status_codeObject

Returns the value of attribute http_status_code

Returns:

  • the current value of http_status_code



46
47
48
# File 'lib/apiculture.rb', line 46

def http_status_code
  @http_status_code
end

#jsonable_object_exampleObject

Returns the value of attribute jsonable_object_example

Returns:

  • the current value of jsonable_object_example



46
47
48
# File 'lib/apiculture.rb', line 46

def jsonable_object_example
  @jsonable_object_example
end

Instance Method Details

#no_body?Boolean

Returns:



47
48
49
# File 'lib/apiculture.rb', line 47

def no_body?
  jsonable_object_example.nil?
end