Class: Houston::Adapters::ErrorTracker::ErrbitAdapter::Notice
- Inherits:
-
Object
- Object
- Houston::Adapters::ErrorTracker::ErrbitAdapter::Notice
- Defined in:
- app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
- #app_id ⇒ Object
- #created_at ⇒ Object
-
#initialize(attributes = {}) ⇒ Notice
constructor
A new instance of Notice.
Constructor Details
#initialize(attributes = {}) ⇒ Notice
Returns a new instance of Notice.
7 8 9 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.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/notice.rb', line 11 def attributes @attributes end |
Instance Method Details
#app_id ⇒ Object
18 19 20 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb', line 18 def app_id attributes[:app_id] end |
#created_at ⇒ Object
14 15 16 |
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb', line 14 def created_at attributes[:created_at] end |