Class: ShiftPlanning::ApiModule
- Inherits:
-
Object
- Object
- ShiftPlanning::ApiModule
- Defined in:
- lib/shift_planning/api_module.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(connection, name) ⇒ ApiModule
constructor
A new instance of ApiModule.
Constructor Details
#initialize(connection, name) ⇒ ApiModule
Returns a new instance of ApiModule.
4 5 6 7 |
# File 'lib/shift_planning/api_module.rb', line 4 def initialize(connection, name) @name = name @connection = connection end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/shift_planning/api_module.rb', line 2 def name @name end |