Class: BigPanda::Client
- Inherits:
-
Object
- Object
- BigPanda::Client
- Includes:
- Connection, Deployment, Request, Helper
- Defined in:
- lib/big_panda/client.rb,
lib/big_panda/client/errors.rb,
lib/big_panda/client/request.rb,
lib/big_panda/client/connection.rb,
lib/big_panda/client/deployment.rb
Defined Under Namespace
Modules: Connection, Deployment, Request Classes: Unauthorized
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
-
#ssl ⇒ Object
readonly
Returns the value of attribute ssl.
-
#target_url ⇒ Object
readonly
Returns the value of attribute target_url.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Deployment
#finish_deployment, #start_deployment
Methods included from Request
Methods included from Helper
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
15 16 17 18 19 20 21 22 |
# File 'lib/big_panda/client.rb', line 15 def initialize(={}) @target_url = BigPanda::DEFAULT_TARGET_URL = [ :access_token ] (, ) @access_token = [:access_token] @ssl = [:ssl] ? [:ssl] : {} end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
13 14 15 |
# File 'lib/big_panda/client.rb', line 13 def access_token @access_token end |
#ssl ⇒ Object (readonly)
Returns the value of attribute ssl.
13 14 15 |
# File 'lib/big_panda/client.rb', line 13 def ssl @ssl end |
#target_url ⇒ Object (readonly)
Returns the value of attribute target_url.
13 14 15 |
# File 'lib/big_panda/client.rb', line 13 def target_url @target_url end |