Class: Sinch::BogusGateway::Response
- Inherits:
-
Struct
- Object
- Struct
- Sinch::BogusGateway::Response
- Defined in:
- lib/sinch/bogus_gateway.rb
Overview
Stub the Response
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#json ⇒ Object
Returns the value of attribute json.
-
#success? ⇒ Object
Returns the value of attribute success?.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
5 6 7 |
# File 'lib/sinch/bogus_gateway.rb', line 5 def code @code end |
#json ⇒ Object
Returns the value of attribute json
5 6 7 |
# File 'lib/sinch/bogus_gateway.rb', line 5 def json @json end |
#success? ⇒ Object
Returns the value of attribute success?
5 6 7 |
# File 'lib/sinch/bogus_gateway.rb', line 5
def success?
@success?
end
|