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
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
#input ⇒ Object
Returns the value of attribute input.
44 45 46 |
# File 'lib/culpa/envelope.rb', line 44 def input @input end |
#params ⇒ Object
Returns the value of attribute params.
45 46 47 |
# File 'lib/culpa/envelope.rb', line 45 def params @params end |
#path ⇒ Object
Returns the value of attribute path.
43 44 45 |
# File 'lib/culpa/envelope.rb', line 43 def path @path end |
#verb ⇒ Object
Returns the value of attribute verb.
42 43 44 |
# File 'lib/culpa/envelope.rb', line 42 def verb @verb end |