Class: BetfairApiNgRails::Api::Data::Event

Inherits:
Base
  • Object
show all
Includes:
Concerns::Hashable
Defined in:
lib/betfair_api_ng_rails/api/data/event.rb

Constant Summary collapse

EVENT_ATTRS =
[
  :id,
  :name,
  :timezone,
  :country_code,
  :venue,
  :open_date
]

Constants included from Constants

Constants::ATTRS_AS_IS

Constants included from Concerns::Attributable

Concerns::Attributable::DEFAULT_OPTIONS

Class Method Summary collapse

Methods included from Concerns::Hashable

#to_hash, #to_param

Methods inherited from Base

#initialize

Methods included from Concerns::Jsonable

included

Methods included from Concerns::Attributable

included

Constructor Details

This class inherits a constructor from BetfairApiNgRails::Api::Data::Base

Class Method Details

.to_hash_attrsObject



18
19
20
# File 'lib/betfair_api_ng_rails/api/data/event.rb', line 18

def self.to_hash_attrs
  EVENT_ATTRS
end