Class: OpenGithubIssue::Reporter
- Inherits:
-
BaseService
- Object
- BaseService
- OpenGithubIssue::Reporter
- Defined in:
- lib/open_github_issue/reporter.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(params, controller) ⇒ Reporter
constructor
A new instance of Reporter.
Methods inherited from BaseService
Constructor Details
#initialize(params, controller) ⇒ Reporter
Returns a new instance of Reporter.
3 4 5 6 |
# File 'lib/open_github_issue/reporter.rb', line 3 def initialize(params, controller) @params = params @controller = controller end |
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 |
# File 'lib/open_github_issue/reporter.rb', line 8 def call GithubIssue.call(title, ) true rescue Octokit::Error false end |