Class: SimplePerformer::ApiAuth
- Inherits:
-
Object
- Object
- SimplePerformer::ApiAuth
- Defined in:
- lib/api_auth.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
Instance Method Summary collapse
-
#initialize(access_key, secret_key = "default", options = {}) ⇒ ApiAuth
constructor
A new instance of ApiAuth.
Constructor Details
#initialize(access_key, secret_key = "default", options = {}) ⇒ ApiAuth
Returns a new instance of ApiAuth.
5 6 7 8 9 |
# File 'lib/api_auth.rb', line 5 def initialize(access_key, secret_key="default", ={}) @access_key = access_key @secret_key = secret_key @host = [:host] end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/api_auth.rb', line 3 def host @host end |