Class: Softlayer::Locale
- Defined in:
- lib/softlayer/locale.rb,
lib/softlayer/locale/country.rb,
lib/softlayer/locale/timezone.rb,
lib/softlayer/locale/state_province.rb
Defined Under Namespace
Classes: Country, Representer, StateProvince, Timezone
Constant Summary collapse
- SERVICE =
'SoftLayer_Locale'
Instance Attribute Summary collapse
-
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#language_tag ⇒ Object
Returns the value of attribute language_tag.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
-
.get_closest_to_language_tag(message) ⇒ Object
language_tag.
Instance Method Summary collapse
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
7 8 9 |
# File 'lib/softlayer/locale.rb', line 7 def friendly_name @friendly_name end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/locale.rb', line 8 def id @id end |
#language_tag ⇒ Object
Returns the value of attribute language_tag.
9 10 11 |
# File 'lib/softlayer/locale.rb', line 9 def language_tag @language_tag end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/softlayer/locale.rb', line 10 def name @name end |