Class: MoexDictionaryObjects::Board

Inherits:
MoexDictionaryObject
  • Object
show all
Defined in:
app/models/moex_dictionary_objects/board.rb

Overview

Moex board from api

Examples:

Params

{ external_id: "1",
  data: {"id": 1, "board_group_id": 6, "engine_id": 1, "market_id": 1,
         "boardid": "EQBR", "board_title": "Основной режим: А1-Акции и паи - безадрес.",
         "is_traded": 0, "has_candles": 1, "is_primary": 0} }

See Also:

Instance Method Summary collapse

Instance Method Details

#internal_nameString

Name used in api

Returns:

  • (String)

    name for api


40
41
42
# File 'app/models/moex_dictionary_objects/board.rb', line 40

def internal_name
  data_boardid
end

#public_nameString

Name used in interfaces

Returns:

  • (String)

    public name


46
47
48
# File 'app/models/moex_dictionary_objects/board.rb', line 46

def public_name
  data_board_title
end