Class: Culpa::EnvelopeRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/culpa/envelope.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ EnvelopeRequest



47
48
49
50
51
# File 'lib/culpa/envelope.rb', line 47

def initialize(attributes)
  attributes.each do |name, value|
    instance_variable_set "@#{name}", value
  end
end

Instance Attribute Details

#inputObject

Returns the value of attribute input.



44
45
46
# File 'lib/culpa/envelope.rb', line 44

def input
  @input
end

#paramsObject

Returns the value of attribute params.



45
46
47
# File 'lib/culpa/envelope.rb', line 45

def params
  @params
end

#pathObject

Returns the value of attribute path.



43
44
45
# File 'lib/culpa/envelope.rb', line 43

def path
  @path
end

#verbObject

Returns the value of attribute verb.



42
43
44
# File 'lib/culpa/envelope.rb', line 42

def verb
  @verb
end