Class: MoexDictionaryObjects::BoardGroup

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

Overview

Moex board group from api

Examples:

Params

{ external_id: "1",
  data: {"id": 1, "trade_engine_id": 1, "trade_engine_name": "stock",
         "trade_engine_title": "Фондовый рынок и рынок депозитов",
         "market_id": 3, "market_name": "repo", "name": "stock_shares_repo",
         "title": "РЕПО с акциями - адрес.", "is_default": 1,
         "board_group_id": 1, "is_traded": 0} }

See Also:

Instance Method Summary collapse

Instance Method Details

#internal_nameString

Name used in api

Returns:

  • (String)

    name for api


42
43
44
# File 'app/models/moex_dictionary_objects/board_group.rb', line 42

def internal_name
  data_name
end

#public_nameString

Name used in interfaces

Returns:

  • (String)

    public name


48
49
50
# File 'app/models/moex_dictionary_objects/board_group.rb', line 48

def public_name
  data_title
end