Class: Plaza::RestfulModel::ErrorResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/plaza/models/restful_model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



3
4
5
# File 'lib/plaza/models/restful_model.rb', line 3

def body
  @body
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



3
4
5
# File 'lib/plaza/models/restful_model.rb', line 3

def code
  @code
end

Instance Method Details

#to_strObject



4
5
6
# File 'lib/plaza/models/restful_model.rb', line 4

def to_str
  body
end