Method: Fog::Compute::CloudSigma::PriceRecord#price=
- Defined in:
- lib/fog/cloudsigma/models/price_record.rb
#price=(new_price) ⇒ Object
23 24 25 |
# File 'lib/fog/cloudsigma/models/price_record.rb', line 23 def price=(new_price) attributes[:price] = new_price.kind_of?(String) ? new_price : new_price.to_s('F') end |