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

Returns a new instance of EnvelopeRequest.



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

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.



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

def input
  @input
end

#paramsObject

Returns the value of attribute params.



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

def params
  @params
end

#pathObject

Returns the value of attribute path.



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

def path
  @path
end

#verbObject

Returns the value of attribute verb.



40
41
42
# File 'lib/culpa/envelope.rb', line 40

def verb
  @verb
end