Class: GithubTrello::Server

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

Class Method Summary collapse

Class Method Details

.configObject



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

def self.config; @config end

.config=(config) ⇒ Object



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

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

.httpObject



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

def self.http; @http end