Class: Houston::Adapters::ErrorTracker::ErrbitAdapter::Problem
- Inherits:
-
Object
- Object
- Houston::Adapters::ErrorTracker::ErrbitAdapter::Problem
- Defined in:
- app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#err_ids ⇒ Object
Returns the value of attribute err_ids.
-
#ticket ⇒ Object
Returns the value of attribute ticket.
Instance Method Summary collapse
- #app_id ⇒ Object
- #comments ⇒ Object
- #deleted_at ⇒ Object
- #environment ⇒ Object
- #first_notice_at ⇒ Object
- #first_notice_commit ⇒ Object
- #first_notice_environment ⇒ Object
- #id ⇒ Object
-
#initialize(attributes = {}) ⇒ Problem
constructor
A new instance of Problem.
- #last_notice_at ⇒ Object
- #last_notice_commit ⇒ Object
- #last_notice_environment ⇒ Object
- #message ⇒ Object
- #notices_count ⇒ Object
- #opened_at ⇒ Object
- #resolved? ⇒ Boolean
- #resolved_at ⇒ Object
- #url ⇒ Object
- #where ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Problem
Returns a new instance of Problem.
7 8 9 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 7 def initialize(attributes={}) @attributes = attributes end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
11 12 13 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 11 def attributes @attributes end |
#err_ids ⇒ Object
Returns the value of attribute err_ids.
12 13 14 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 12 def err_ids @err_ids end |
#ticket ⇒ Object
Returns the value of attribute ticket.
13 14 15 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 13 def ticket @ticket end |
Instance Method Details
#app_id ⇒ Object
65 66 67 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 65 def app_id attributes[:app_id] end |
#comments ⇒ Object
86 87 88 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 86 def comments attributes[:comments] end |
#deleted_at ⇒ Object
90 91 92 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 90 def deleted_at attributes[:deleted_at] end |
#environment ⇒ Object
77 78 79 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 77 def environment attributes[:environment] end |
#first_notice_at ⇒ Object
23 24 25 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 23 def first_notice_at attributes[:first_notice_at] end |
#first_notice_commit ⇒ Object
27 28 29 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 27 def first_notice_commit attributes[:first_notice_commit] end |
#first_notice_environment ⇒ Object
31 32 33 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 31 def first_notice_environment attributes[:first_notice_environment] end |
#id ⇒ Object
15 16 17 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 15 def id attributes[:id] end |
#last_notice_at ⇒ Object
35 36 37 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 35 def last_notice_at attributes[:last_notice_at] end |
#last_notice_commit ⇒ Object
39 40 41 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 39 def last_notice_commit attributes[:last_notice_commit] end |
#last_notice_environment ⇒ Object
43 44 45 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 43 def last_notice_environment attributes[:last_notice_environment] end |
#message ⇒ Object
69 70 71 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 69 def attributes[:message] end |
#notices_count ⇒ Object
47 48 49 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 47 def notices_count attributes[:notices_count] end |
#opened_at ⇒ Object
52 53 54 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 52 def opened_at attributes[:opened_at] end |
#resolved? ⇒ Boolean
60 61 62 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 60 def resolved? attributes[:resolved] end |
#resolved_at ⇒ Object
56 57 58 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 56 def resolved_at attributes[:resolved_at] end |
#url ⇒ Object
81 82 83 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 81 def url attributes[:url] end |
#where ⇒ Object
73 74 75 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb', line 73 def where attributes[:where] end |