class Stackd::Config

Public Class Methods

new(attrs = {}) click to toggle source
# File lib/stackd/config.rb, line 9
def initialize attrs = {}
  attrs.each do |key, val|
    public_send :"#{key}=", val
  end
end

Public Instance Methods

api_url() click to toggle source
# File lib/stackd/config.rb, line 19
def api_url
  @api_url || "https://api.stackd.com"
end
auth_url() click to toggle source
# File lib/stackd/config.rb, line 15
def auth_url
  @auth_url || "https://stackd.com/authorize"
end