Class: SchoolgirlUniform::Carrier

Inherits:
Object
  • Object
show all
Defined in:
app/carriers/carrier.rb

Instance Method Summary collapse

Constructor Details

#initialize(form, paths = {}) ⇒ Carrier

Returns a new instance of Carrier.



4
5
6
7
8
# File 'app/carriers/carrier.rb', line 4

def initialize(form, paths = {})
  @form = form
  @current_step_path = paths[:current]
  @previous_step_path = paths[:previous]
end

Instance Method Details

#current_step_pathObject



10
11
12
# File 'app/carriers/carrier.rb', line 10

def current_step_path
  @current_step_path
end

#previous_step_pathObject



14
15
16
# File 'app/carriers/carrier.rb', line 14

def previous_step_path
  @previous_step_path
end