Class: Postnhost::Onboarding::Steps::Base

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/postnhost/onboarding/steps/base.rb

Constant Summary collapse

SITE_COPY_KEYS =
Postnhost::Onboarding::StepAssignment::SITE_COPY_KEYS
LANGUAGE_OPTIONS =
Postnhost::Onboarding::StepAssignment::LANGUAGE_OPTIONS

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseService

call

Constructor Details

#initialize(params:, session:) ⇒ Base

Returns a new instance of Base.



10
11
12
13
# File 'app/services/postnhost/onboarding/steps/base.rb', line 10

def initialize(params:, session:)
  @params = params
  @session = session
end

Instance Attribute Details

#paramsObject (readonly)

Returns the value of attribute params.



8
9
10
# File 'app/services/postnhost/onboarding/steps/base.rb', line 8

def params
  @params
end

#sessionObject (readonly)

Returns the value of attribute session.



8
9
10
# File 'app/services/postnhost/onboarding/steps/base.rb', line 8

def session
  @session
end