Class: Gameplan::Endpoint
- Inherits:
-
Object
- Object
- Gameplan::Endpoint
- Defined in:
- lib/gameplan/endpoint.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(app, state, description) ⇒ Endpoint
constructor
A new instance of Endpoint.
Constructor Details
#initialize(app, state, description) ⇒ Endpoint
Returns a new instance of Endpoint.
5 6 7 |
# File 'lib/gameplan/endpoint.rb', line 5 def initialize(app, state, description) @app, @state, @description = app, state, description end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
3 4 5 |
# File 'lib/gameplan/endpoint.rb', line 3 def description @description end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
3 4 5 |
# File 'lib/gameplan/endpoint.rb', line 3 def state @state end |