Class: Culpa::EnvelopeRequest
- Inherits:
-
Object
- Object
- Culpa::EnvelopeRequest
- Defined in:
- lib/culpa/envelope.rb
Instance Attribute Summary collapse
-
#input ⇒ Object
Returns the value of attribute input.
-
#params ⇒ Object
Returns the value of attribute params.
-
#path ⇒ Object
Returns the value of attribute path.
-
#verb ⇒ Object
Returns the value of attribute verb.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ EnvelopeRequest
constructor
A new instance of EnvelopeRequest.
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
#input ⇒ Object
Returns the value of attribute input.
42 43 44 |
# File 'lib/culpa/envelope.rb', line 42 def input @input end |
#params ⇒ Object
Returns the value of attribute params.
43 44 45 |
# File 'lib/culpa/envelope.rb', line 43 def params @params end |
#path ⇒ Object
Returns the value of attribute path.
41 42 43 |
# File 'lib/culpa/envelope.rb', line 41 def path @path end |
#verb ⇒ Object
Returns the value of attribute verb.
40 41 42 |
# File 'lib/culpa/envelope.rb', line 40 def verb @verb end |