Class: Proctor::Service
- Inherits:
-
Object
- Object
- Proctor::Service
- Defined in:
- lib/proctor/service.rb
Instance Attribute Summary collapse
-
#input_hash ⇒ Object
readonly
Returns the value of attribute input_hash.
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ Service
constructor
A new instance of Service.
Constructor Details
#initialize(hash = {}) ⇒ Service
Returns a new instance of Service.
4 5 6 |
# File 'lib/proctor/service.rb', line 4 def initialize(hash = {}) @input_hash = hash end |
Instance Attribute Details
#input_hash ⇒ Object (readonly)
Returns the value of attribute input_hash.
3 4 5 |
# File 'lib/proctor/service.rb', line 3 def input_hash @input_hash end |
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
3 4 5 |
# File 'lib/proctor/service.rb', line 3 def opts @opts end |