Class: Houston::Adapters::ErrorTracker::ErrbitAdapter::Notice

Inherits:
Object
  • Object
show all
Defined in:
app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributesObject (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_idObject



18
19
20
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb', line 18

def app_id
  attributes[:app_id]
end

#created_atObject



14
15
16
# File 'app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb', line 14

def created_at
  attributes[:created_at]
end