Class: GithubTrello::Server
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- GithubTrello::Server
- Defined in:
- lib/github-trello/server.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
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 |
.http ⇒ Object
117 |
# File 'lib/github-trello/server.rb', line 117 def self.http; @http end |