Class: SolidusBolt::MerchantConfiguration::SetCallbackUrlsService

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseService

call

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 = 

  super
end

Instance Attribute Details

#get_accountObject (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
end

#oauth_logoutObject (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_redirectObject (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

#callObject



16
17
18
# File 'app/services/solidus_bolt/merchant_configuration/set_callback_urls_service.rb', line 16

def call
  set_callbacks
end