module Appfirst::Client::Shared

Attributes

path[R]
url[R]
user[R]

Public Instance Methods

setup(options) click to toggle source
# File lib/appfirst/client.rb, line 24
def setup(options)
  @url  = options[:url] || ENV["APPFIRST_URL"] || "https://engineyard.appfirst.com"
  @path = options[:path] || "/api/v3"

  # For auth
  @user     = options[:user]
  @password = options[:password]

  @logger = options[:logger] || Logger.new(nil)
end