Class: Horoshop::Base

Inherits:
Object
  • Object
show all
Includes:
Connection
Defined in:
lib/horoshop/base.rb

Overview

base class for all methods used in others classes

Direct Known Subclasses

Authorization, ImportResiduences

Constant Summary

Constants included from Connection

Connection::ERROR

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Connection

#connection, #mixin_token!, #post

Constructor Details

#initialize(horoshop) ⇒ Base

Returns a new instance of Base.

Parameters:

  • (Horoshop::client)


12
13
14
# File 'lib/horoshop/base.rb', line 12

def initialize(horoshop)
  @horoshop = horoshop
end

Instance Attribute Details

#horoshopObject (readonly)

Returns the value of attribute horoshop.



9
10
11
# File 'lib/horoshop/base.rb', line 9

def horoshop
  @horoshop
end