Class: GitMarkdown::Providers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/git/markdown/providers/base.rb

Direct Known Subclasses

GitHub

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#configObject (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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/git/markdown/providers/base.rb', line 20

def fetch_reviews(owner, repo, number)
  raise NotImplementedError
end