Class: Services::ListSltcProvidersContext

Inherits:
Object
  • Object
show all
Defined in:
app/contexts/services/list_sltc_providers_context.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configured_account) ⇒ ListSltcProvidersContext

Returns a new instance of ListSltcProvidersContext.



11
12
13
14
# File 'app/contexts/services/list_sltc_providers_context.rb', line 11

def initialize()
  @configured_account = 
  .extend Services::SltcProviderLister
end

Instance Attribute Details

#configured_accountObject

Returns the value of attribute configured_account.



5
6
7
# File 'app/contexts/services/list_sltc_providers_context.rb', line 5

def 
  @configured_account
end

Class Method Details

.call(configured_account) ⇒ Object



7
8
9
# File 'app/contexts/services/list_sltc_providers_context.rb', line 7

def self.call()
  ListSltcProvidersContext.new().call
end

Instance Method Details

#callObject



16
17
18
# File 'app/contexts/services/list_sltc_providers_context.rb', line 16

def call
  .list_providers
end