Class: GmoServices::Payments::Base
- Inherits:
-
Object
- Object
- GmoServices::Payments::Base
- Defined in:
- lib/gmo_services/payments/base.rb
Instance Attribute Summary collapse
-
#base_api_url ⇒ Object
readonly
Returns the value of attribute base_api_url.
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
-
#shop_id ⇒ Object
readonly
Returns the value of attribute shop_id.
-
#shop_pass ⇒ Object
readonly
Returns the value of attribute shop_pass.
-
#site_id ⇒ Object
readonly
Returns the value of attribute site_id.
-
#site_pass ⇒ Object
readonly
Returns the value of attribute site_pass.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(params = {}) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 11 12 13 |
# File 'lib/gmo_services/payments/base.rb', line 6 def initialize(params = {}) @site_id = params[:site_id] @site_pass = params[:site_pass] @shop_id = params[:shop_id] @shop_pass = params[:shop_pass] @base_api_url = params[:base_api_url] @settings = initialize_settings end |
Instance Attribute Details
#base_api_url ⇒ Object (readonly)
Returns the value of attribute base_api_url.
4 5 6 |
# File 'lib/gmo_services/payments/base.rb', line 4 def base_api_url @base_api_url end |
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
4 5 6 |
# File 'lib/gmo_services/payments/base.rb', line 4 def settings @settings end |
#shop_id ⇒ Object (readonly)
Returns the value of attribute shop_id.
4 5 6 |
# File 'lib/gmo_services/payments/base.rb', line 4 def shop_id @shop_id end |
#shop_pass ⇒ Object (readonly)
Returns the value of attribute shop_pass.
4 5 6 |
# File 'lib/gmo_services/payments/base.rb', line 4 def shop_pass @shop_pass end |
#site_id ⇒ Object (readonly)
Returns the value of attribute site_id.
4 5 6 |
# File 'lib/gmo_services/payments/base.rb', line 4 def site_id @site_id end |
#site_pass ⇒ Object (readonly)
Returns the value of attribute site_pass.
4 5 6 |
# File 'lib/gmo_services/payments/base.rb', line 4 def site_pass @site_pass end |