Method: Fog::Compute::IBM::Mock#list_address_offerings
- Defined in:
- lib/fog/ibm/requests/compute/list_address_offerings.rb
permalink #list_address_offerings ⇒ Object
[View source]
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/fog/ibm/requests/compute/list_address_offerings.rb', line 38 def list_address_offerings response = Excon::Response.new response.status = 200 response.body = {"addresses"=> [{"price"=> {"pricePerQuantity"=>1, "effectiveDate"=>1302566400000, "rate"=>0.01, "countryCode"=>"897", "unitOfMeasure"=>"UHR", "currencyCode"=>"USD"}, "location"=>"101", "ipType"=>0, "id"=>"20001223"}]} response end |