Sha256: 90a7f748c25c85ca791b8757972ea019bdb4e9feeeb8afe0f9b5e5c0653eead8
Contents?: true
Size: 1 KB
Versions: 17
Compression:
Stored size: 1 KB
Contents
module Houston module Adapters module ErrorTracker class ErrbitAdapter class App def initialize(connection, app_id) @connection = connection @app_id = app_id end attr_reader :connection, :app_id def project_url connection.project_url(app_id) end def error_url(err) connection.error_url(app_id, err) end def problems_during(range) connection.problems_during(range, app_id: app_id) end def open_problems(params={}) connection.open_problems params.merge(app_id: app_id) end def resolve!(problem_id, params={}) connection.resolve!(problem_id, params) end def unresolve!(problem_id) connection.unresolve!(problem_id) end delegate :merge_problems, :unmerge_problems, :delete_problems, to: :connection end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems