Class: SolidusBolt::Accounts::DetailService

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/solidus_bolt/accounts/detail_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseService

call

Constructor Details

#initialize(access_token:) ⇒ DetailService

Returns a new instance of DetailService.



8
9
10
11
# File 'app/services/solidus_bolt/accounts/detail_service.rb', line 8

def initialize(access_token:)
  @access_token = access_token
  super
end

Instance Attribute Details

#access_tokenObject (readonly)

Returns the value of attribute access_token.



6
7
8
# File 'app/services/solidus_bolt/accounts/detail_service.rb', line 6

def access_token
  @access_token
end

Instance Method Details

#callObject



13
14
15
# File 'app/services/solidus_bolt/accounts/detail_service.rb', line 13

def call
  detail
end