Class: MoexDictionaryObjects::SecurityType

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

Overview

Moex security type from api

Examples:

Params

{ external_id: "1",
  data: { "id": 1, "trade_engine_id": 1, "trade_engine_name": "stock",
          "trade_engine_title": "Фондовый рынок и рынок депозитов",
          "security_type_name": "preferred_share",
          "security_type_title": "Акция привилегированная" } }

See Also:

Instance Method Summary collapse

Instance Method Details

#internal_nameString

Name used in api

Returns:

  • (String)

    name for api


43
44
45
# File 'app/models/moex_dictionary_objects/security_type.rb', line 43

def internal_name
  data_security_type_name
end

#public_nameString

Name used in interfaces

Returns:

  • (String)

    public name


49
50
51
# File 'app/models/moex_dictionary_objects/security_type.rb', line 49

def public_name
  data_security_type_title
end