Class: Hackle::EventType

Inherits:
Object
  • Object
show all
Defined in:
lib/hackle-ruby-sdk/models/event_type.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (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

#keyObject (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