Class: Horoshop::Base
- Inherits:
-
Object
- Object
- Horoshop::Base
- Includes:
- Connection
- Defined in:
- lib/horoshop/base.rb
Overview
base class for all methods used in others classes
Direct Known Subclasses
Constant Summary
Constants included from Connection
Instance Attribute Summary collapse
-
#horoshop ⇒ Object
readonly
Returns the value of attribute horoshop.
Instance Method Summary collapse
-
#initialize(horoshop) ⇒ Base
constructor
A new instance of Base.
Methods included from Connection
#connection, #mixin_token!, #post
Constructor Details
#initialize(horoshop) ⇒ Base
Returns a new instance of Base.
12 13 14 |
# File 'lib/horoshop/base.rb', line 12 def initialize(horoshop) @horoshop = horoshop end |
Instance Attribute Details
#horoshop ⇒ Object (readonly)
Returns the value of attribute horoshop.
9 10 11 |
# File 'lib/horoshop/base.rb', line 9 def horoshop @horoshop end |