Class: MoexDictionaryObjects::SecurityCollection

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

Overview

Moex security collection from api

Examples:

Params

{ external_id: "3",
  data: { "id": 3, "name": "stock_shares_all", "title": "Все акции", "security_group_id": 4 } }

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/security_collection.rb', line 40

def internal_name
  data_name
end

#public_nameString

Name used in interfaces

Returns:

  • (String)

    public name


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

def public_name
  data_title
end