Class: Rwsc::Arg

Inherits:
Object
  • Object
show all
Defined in:
lib/rwsc/arg.rb

Overview

this class is Rakuten Webservice result arg item .

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject

Returns the value of attribute key.



6
7
8
# File 'lib/rwsc/arg.rb', line 6

def key
  @key
end

#resultObject

Returns the value of attribute result.



6
7
8
# File 'lib/rwsc/arg.rb', line 6

def result
  @result
end

#valueObject

Returns the value of attribute value.



6
7
8
# File 'lib/rwsc/arg.rb', line 6

def value
  @value
end