Class: Rubyfox::Client::EventParams
- Inherits:
-
Object
- Object
- Rubyfox::Client::EventParams
- Includes:
- Enumerable
- Defined in:
- lib/rubyfox/client/event.rb
Instance Method Summary collapse
- #[](key) ⇒ Object
- #each(&block) ⇒ Object
-
#initialize(hash) ⇒ EventParams
constructor
A new instance of EventParams.
- #inspect ⇒ Object
Constructor Details
#initialize(hash) ⇒ EventParams
Returns a new instance of EventParams.
30 31 32 |
# File 'lib/rubyfox/client/event.rb', line 30 def initialize(hash) @hash = hash end |
Instance Method Details
#[](key) ⇒ Object
34 35 36 |
# File 'lib/rubyfox/client/event.rb', line 34 def [](key) @hash[key.to_s] end |
#each(&block) ⇒ Object
38 39 40 |
# File 'lib/rubyfox/client/event.rb', line 38 def each(&block) @hash.each(&block) end |
#inspect ⇒ Object
42 43 44 |
# File 'lib/rubyfox/client/event.rb', line 42 def inspect @hash.inspect end |