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
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 |
.http ⇒ Object
123 |
# File 'lib/github-trello/server.rb', line 123 def self.http; @http end |