Class: RakutenWebService::Configuration
- Inherits:
-
Object
- Object
- RakutenWebService::Configuration
- Defined in:
- lib/rakuten_web_service/configuration.rb
Instance Attribute Summary collapse
-
#affiliate_id ⇒ Object
Returns the value of attribute affiliate_id.
-
#application_id ⇒ Object
Returns the value of attribute application_id.
-
#max_retries ⇒ Object
Returns the value of attribute max_retries.
Instance Method Summary collapse
- #generate_parameters ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/rakuten_web_service/configuration.rb', line 5 def initialize @max_retries = 5 end |
Instance Attribute Details
#affiliate_id ⇒ Object
Returns the value of attribute affiliate_id.
3 4 5 |
# File 'lib/rakuten_web_service/configuration.rb', line 3 def affiliate_id @affiliate_id end |
#application_id ⇒ Object
Returns the value of attribute application_id.
3 4 5 |
# File 'lib/rakuten_web_service/configuration.rb', line 3 def application_id @application_id end |
#max_retries ⇒ Object
Returns the value of attribute max_retries.
3 4 5 |
# File 'lib/rakuten_web_service/configuration.rb', line 3 def max_retries @max_retries end |
Instance Method Details
#generate_parameters ⇒ Object
9 10 11 |
# File 'lib/rakuten_web_service/configuration.rb', line 9 def generate_parameters { :application_id => application_id, :affiliate_id => affiliate_id } end |