Class: Isomer::Sources::Test
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Attributes inherited from Base
#configuration, #errors, #parameters
Instance Method Summary collapse
-
#initialize(parameters, options = {}) ⇒ Test
constructor
A new instance of Test.
- #load ⇒ Object
Methods inherited from Base
#for, #load_and_validate, #validate
Constructor Details
#initialize(parameters, options = {}) ⇒ Test
Returns a new instance of Test.
4 5 6 7 |
# File 'lib/isomer/sources/test.rb', line 4 def initialize(parameters, ={}) @payload = [:payload] super(parameters) end |
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
2 3 4 |
# File 'lib/isomer/sources/test.rb', line 2 def payload @payload end |
Instance Method Details
#load ⇒ Object
9 10 11 |
# File 'lib/isomer/sources/test.rb', line 9 def load @configuration = payload end |