Class: Sinch::BogusGateway::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/sinch/bogus_gateway.rb

Overview

Stub the Response

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



5
6
7
# File 'lib/sinch/bogus_gateway.rb', line 5

def code
  @code
end

#jsonObject

Returns the value of attribute json

Returns:

  • (Object)

    the current value of json



5
6
7
# File 'lib/sinch/bogus_gateway.rb', line 5

def json
  @json
end

#success?Object

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



5
6
7
# File 'lib/sinch/bogus_gateway.rb', line 5

def success?
  @success?
end