Class: Rwsc::Arg
- Inherits:
-
Object
- Object
- Rwsc::Arg
- Defined in:
- lib/rwsc/arg.rb
Overview
this class is Rakuten Webservice result arg item .
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#result ⇒ Object
Returns the value of attribute result.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key, value, result) ⇒ Arg
constructor
A new instance of Arg.
Constructor Details
#initialize(key, value, result) ⇒ Arg
Returns a new instance of Arg.
8 9 10 11 12 |
# File 'lib/rwsc/arg.rb', line 8 def initialize(key, value, result) self.key = key self.value = value self.result = result end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
6 7 8 |
# File 'lib/rwsc/arg.rb', line 6 def key @key end |
#result ⇒ Object
Returns the value of attribute result.
6 7 8 |
# File 'lib/rwsc/arg.rb', line 6 def result @result end |
#value ⇒ Object
Returns the value of attribute value.
6 7 8 |
# File 'lib/rwsc/arg.rb', line 6 def value @value end |