module Oceanarium::Config
Public Instance Methods
api_key()
click to toggle source
# File lib/oceanarium/config.rb, line 22 def api_key return @api_key if @api_key nil end
api_key=(api_key)
click to toggle source
API key getter/setter.
# File lib/oceanarium/config.rb, line 17 def api_key=(api_key) @api_key = api_key @api_key end
api_url()
click to toggle source
# File lib/oceanarium/config.rb, line 11 def api_url return @api_url if @api_url "https://api.digitalocean.com/" end
api_url=(api_url)
click to toggle source
API URL getter/setter
# File lib/oceanarium/config.rb, line 6 def api_url=(api_url) @api_url = api_url @api_url end
client_id()
click to toggle source
# File lib/oceanarium/config.rb, line 33 def client_id return @client_id if @client_id nil end
client_id=(client_id)
click to toggle source
Client key getter/setter.
# File lib/oceanarium/config.rb, line 28 def client_id=(client_id) @client_id = client_id @client_id end