Class: Sinatra::JsonRpc::Response::Error
- Inherits:
-
Struct
- Object
- Struct
- Sinatra::JsonRpc::Response::Error
- Defined in:
- lib/sinatra/json_rpc/response.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#data ⇒ Object
Returns the value of attribute data.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
19 20 21 |
# File 'lib/sinatra/json_rpc/response.rb', line 19 def code @code end |
#data ⇒ Object
Returns the value of attribute data
19 20 21 |
# File 'lib/sinatra/json_rpc/response.rb', line 19 def data @data end |
#message ⇒ Object
Returns the value of attribute message
19 20 21 |
# File 'lib/sinatra/json_rpc/response.rb', line 19 def @message end |