Class: Hackle::EventType
- Inherits:
-
Object
- Object
- Hackle::EventType
- Defined in:
- lib/hackle-ruby-sdk/models/event_type.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(id, key) ⇒ EventType
constructor
A new instance of EventType.
Constructor Details
#initialize(id, key) ⇒ EventType
Returns a new instance of EventType.
5 6 7 8 |
# File 'lib/hackle-ruby-sdk/models/event_type.rb', line 5 def initialize(id, key) @id = id @key = key end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/hackle-ruby-sdk/models/event_type.rb', line 3 def id @id end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
3 4 5 |
# File 'lib/hackle-ruby-sdk/models/event_type.rb', line 3 def key @key end |