Class: MoexDictionaryObjects::SecurityGroup

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

Overview

Moex security group from api

Examples:

Params

{ external_id: "4",
  data: { "id": 4, "name": "stock_shares", "title": "Акции", "is_hidden": 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/security_group.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_group.rb', line 46

def public_name
  data_title
end