Class: Shanon::AbstractClient
- Inherits:
-
Object
- Object
- Shanon::AbstractClient
- Defined in:
- lib/shanon/abstract_client.rb
Direct Known Subclasses
Clients::AuthenticationClient, Clients::EnqueteClient, Clients::VisitorClient
Instance Attribute Summary collapse
-
#conn ⇒ Object
readonly
Returns the value of attribute conn.
-
#secrets ⇒ Object
readonly
Returns the value of attribute secrets.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ AbstractClient
constructor
A new instance of AbstractClient.
Constructor Details
#initialize ⇒ AbstractClient
Returns a new instance of AbstractClient.
8 9 10 11 12 |
# File 'lib/shanon/abstract_client.rb', line 8 def initialize @secrets = get_secrets @conn = build_client @token = get_token end |
Instance Attribute Details
#conn ⇒ Object (readonly)
Returns the value of attribute conn.
6 7 8 |
# File 'lib/shanon/abstract_client.rb', line 6 def conn @conn end |
#secrets ⇒ Object (readonly)
Returns the value of attribute secrets.
6 7 8 |
# File 'lib/shanon/abstract_client.rb', line 6 def secrets @secrets end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
6 7 8 |
# File 'lib/shanon/abstract_client.rb', line 6 def token @token end |