Class: BetfairApiNgRails::Api::Data::PlaceInstructionReport

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

Constant Summary collapse

PLACE_INSTRUCTION_REPORT_ATTRS =
[
  :status,
  :error_code,
  {instruction: {type: BetfairApiNgRails::PlaceInstruction}},
  :bet_id,
  :placed_date,
  :average_price_matched,
  :size_matched
]

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



19
20
21
# File 'lib/betfair_api_ng_rails/api/data/place_instruction_report.rb', line 19

def self.to_hash_attrs
  PLACE_INSTRUCTION_REPORT_ATTRS
end