Class: IGMarkets::HistoricalPriceResult::Metadata::PageData

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

Overview

Contains details on paging status for a historical price lookup. Used by #page_data.

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

#page_numberInteger

The page_number attribute.

Returns:

  • (Integer)


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

attribute :page_number, Integer

#page_sizeInteger

The page_size attribute.

Returns:

  • (Integer)


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

attribute :page_size, Integer

#total_pagesInteger

The total_pages attribute.

Returns:

  • (Integer)


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

attribute :total_pages, Integer