Class: SolidusBolt::MerchantConfiguration::SetCallbackUrlsService
- Inherits:
-
BaseService
- Object
- BaseService
- SolidusBolt::MerchantConfiguration::SetCallbackUrlsService
- Defined in:
- app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb
Instance Attribute Summary collapse
-
#get_account ⇒ Object
readonly
Returns the value of attribute get_account.
-
#oauth_logout ⇒ Object
readonly
Returns the value of attribute oauth_logout.
-
#oauth_redirect ⇒ Object
readonly
Returns the value of attribute oauth_redirect.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(oauth_redirect: nil, oauth_logout: nil, get_account: nil) ⇒ SetCallbackUrlsService
constructor
A new instance of SetCallbackUrlsService.
Methods inherited from BaseService
Constructor Details
#initialize(oauth_redirect: nil, oauth_logout: nil, get_account: nil) ⇒ SetCallbackUrlsService
Returns a new instance of SetCallbackUrlsService.
8 9 10 11 12 13 14 |
# File 'app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb', line 8 def initialize(oauth_redirect: nil, oauth_logout: nil, get_account: nil) @oauth_redirect = oauth_redirect @oauth_logout = oauth_logout @get_account = get_account super end |
Instance Attribute Details
#get_account ⇒ Object (readonly)
Returns the value of attribute get_account.
6 7 8 |
# File 'app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb', line 6 def get_account @get_account end |
#oauth_logout ⇒ Object (readonly)
Returns the value of attribute oauth_logout.
6 7 8 |
# File 'app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb', line 6 def oauth_logout @oauth_logout end |
#oauth_redirect ⇒ Object (readonly)
Returns the value of attribute oauth_redirect.
6 7 8 |
# File 'app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb', line 6 def oauth_redirect @oauth_redirect end |
Instance Method Details
#call ⇒ Object
16 17 18 |
# File 'app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb', line 16 def call set_callbacks end |