Class: Amazon::WebServices::Util::MockTransport::MethodCall
- Inherits:
-
Object
- Object
- Amazon::WebServices::Util::MockTransport::MethodCall
- Defined in:
- lib/amazon/webservices/util/mock_transport.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(name, args) ⇒ MethodCall
constructor
A new instance of MethodCall.
Constructor Details
#initialize(name, args) ⇒ MethodCall
Returns a new instance of MethodCall.
13 14 15 16 17 |
# File 'lib/amazon/webservices/util/mock_transport.rb', line 13 def initialize( name, args ) @name = name @args = args @request = args[:Request][0] end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
19 20 21 |
# File 'lib/amazon/webservices/util/mock_transport.rb', line 19 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/amazon/webservices/util/mock_transport.rb', line 19 def name @name end |
#request ⇒ Object (readonly)
Returns the value of attribute request.
19 20 21 |
# File 'lib/amazon/webservices/util/mock_transport.rb', line 19 def request @request end |