Module: Droppper
- Defined in:
- lib/droppper.rb,
lib/droppper/cli.rb,
lib/droppper/utils.rb,
lib/droppper/config.rb,
lib/droppper/version.rb,
lib/droppper/droplets.rb,
lib/droppper/commands/droplets.rb
Defined Under Namespace
Modules: Commands, Droplets, Utils Classes: CLI, Config
Constant Summary collapse
- VERSION =
"0.2.0"
Class Attribute Summary collapse
-
.client ⇒ Object
Returns the value of attribute client.
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.client ⇒ Object
Returns the value of attribute client.
14 15 16 |
# File 'lib/droppper.rb', line 14 def client @client end |
.config ⇒ Object
Returns the value of attribute config.
14 15 16 |
# File 'lib/droppper.rb', line 14 def config @config end |
Class Method Details
.setup(options) ⇒ Object
16 17 18 19 20 |
# File 'lib/droppper.rb', line 16 def setup() self.config = Droppper::Config.new self.config.token = ["token"] if ["token"] self.client = DropletKit::Client.new(access_token: config.token) end |