Class: IGMarkets::HistoricalPriceResult::Metadata::Allowance

Inherits:
Model
  • Object
show all
Defined in:
lib/ig_markets/historical_price_result.rb

Overview

Contains details on the remaining allowance for looking up historical prices. Used by #allowance.

Instance Attribute Summary

Attributes inherited from Model

#attributes

Instance Method Summary collapse

Methods inherited from Model

#==, allowed_values, attribute, attribute_type, attribute_value_allowed?, defined_attribute_names, deprecated_attribute, #initialize, #initialize_copy, #inspect, #to_h, valid_attribute?

Constructor Details

This class inherits a constructor from IGMarkets::Model

Instance Method Details

#allowance_expiryInteger

The allowance_expiry attribute.

Returns:

  • (Integer)


8
# File 'lib/ig_markets/historical_price_result.rb', line 8

attribute :allowance_expiry, Integer

#remaining_allowanceInteger

The remaining_allowance attribute.

Returns:

  • (Integer)


9
# File 'lib/ig_markets/historical_price_result.rb', line 9

attribute :remaining_allowance, Integer

#total_allowanceInteger

The total_allowance attribute.

Returns:

  • (Integer)


10
# File 'lib/ig_markets/historical_price_result.rb', line 10

attribute :total_allowance, Integer