Class: GithubTrello::Server

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/github-trello/server.rb

Class Method Summary collapse

Class Method Details

.configObject



116
# File 'lib/github-trello/server.rb', line 116

def self.config; @config end

.config=(config) ⇒ Object



111
112
113
114
# File 'lib/github-trello/server.rb', line 111

def self.config=(config)
  @config = config
  @http = GithubTrello::HTTP.new(config["oauth_token"], config["api_key"])
end

.httpObject



117
# File 'lib/github-trello/server.rb', line 117

def self.http; @http end