Class: Softlayer::Billing::Currency
- Defined in:
- lib/softlayer/billing/currency.rb,
lib/softlayer/billing/currency/exchange_rate.rb
Defined Under Namespace
Classes: ExchangeRate, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Billing_Currency'
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
- #get_object ⇒ Object
-
#get_price(message) ⇒ Object
price format_options.
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
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/softlayer/billing/currency.rb', line 6 def id @id end |
#key_name ⇒ Object
Returns the value of attribute key_name.
7 8 9 |
# File 'lib/softlayer/billing/currency.rb', line 7 def key_name @key_name end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/softlayer/billing/currency.rb', line 8 def name @name end |
Class Method Details
Instance Method Details
#get_object ⇒ Object
14 15 16 |
# File 'lib/softlayer/billing/currency.rb', line 14 def get_object request(:get_object, Softlayer::Billing::Currency) end |
#get_price(message) ⇒ Object
price format_options
20 21 22 |
# File 'lib/softlayer/billing/currency.rb', line 20 def get_price() request(:get_price, String, ) end |