Class: GitMarkdown::Providers::Base
- Inherits:
-
Object
- Object
- GitMarkdown::Providers::Base
- Defined in:
- lib/git/markdown/providers/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #fetch_comments(owner, repo, number) ⇒ Object
- #fetch_pull_request(owner, repo, number) ⇒ Object
- #fetch_review_comments(owner, repo, review_id) ⇒ Object
- #fetch_reviews(owner, repo, number) ⇒ Object
-
#initialize(config) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(config) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/git/markdown/providers/base.rb', line 8 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
6 7 8 |
# File 'lib/git/markdown/providers/base.rb', line 6 def config @config end |
Instance Method Details
#fetch_comments(owner, repo, number) ⇒ Object
16 17 18 |
# File 'lib/git/markdown/providers/base.rb', line 16 def fetch_comments(owner, repo, number) raise NotImplementedError end |
#fetch_pull_request(owner, repo, number) ⇒ Object
12 13 14 |
# File 'lib/git/markdown/providers/base.rb', line 12 def fetch_pull_request(owner, repo, number) raise NotImplementedError end |
#fetch_review_comments(owner, repo, review_id) ⇒ Object
24 25 26 |
# File 'lib/git/markdown/providers/base.rb', line 24 def fetch_review_comments(owner, repo, review_id) raise NotImplementedError end |
#fetch_reviews(owner, repo, number) ⇒ Object
20 21 22 |
# File 'lib/git/markdown/providers/base.rb', line 20 def fetch_reviews(owner, repo, number) raise NotImplementedError end |