Class: Rubyists::Kalshi::Events::List
- Inherits:
-
Rubyists::Kalshi::Endpoint
- Object
- Rubyists::Kalshi::Endpoint
- Rubyists::Kalshi::Events::List
- Includes:
- Listable
- Defined in:
- lib/kalshi/events/list.rb
Overview
Events API endpoint
Defined Under Namespace
Classes: Filter
Instance Attribute Summary
Attributes inherited from Rubyists::Kalshi::Endpoint
Instance Method Summary collapse
Methods included from Listable
Methods inherited from Rubyists::Kalshi::Endpoint
Constructor Details
This class inherits a constructor from Rubyists::Kalshi::Endpoint
Instance Method Details
#fetch(event_ticker) ⇒ Object
27 28 29 |
# File 'lib/kalshi/events/list.rb', line 27 def fetch(event_ticker) client.get(event_ticker) end |
#metadata(event_ticker) ⇒ Object
31 32 33 |
# File 'lib/kalshi/events/list.rb', line 31 def (event_ticker) client.get("#{event_ticker}/metadata") end |