Class: Decidim::GithubManager::Querier::Base
- Inherits:
-
Object
- Object
- Decidim::GithubManager::Querier::Base
- Defined in:
- lib/decidim/github_manager/querier/base.rb
Overview
Base class that allows making GET requests to GitHub Rest API about Issues and Pull Requests This must be inherited from other class with the following methods:
-
call
-
uri
Direct Known Subclasses
Defined Under Namespace
Classes: InvalidMetadataError
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(token:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(token:) ⇒ Base
Returns a new instance of Base.
18 19 20 |
# File 'lib/decidim/github_manager/querier/base.rb', line 18 def initialize(token:) @token = token end |
Instance Method Details
#call ⇒ Object
22 23 24 |
# File 'lib/decidim/github_manager/querier/base.rb', line 22 def call raise "Not implemented" end |