fog-storm_on_demand 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/fog-storm_on_demand.gemspec +4 -1
  3. data/lib/fog/account/storm_on_demand.rb +4 -4
  4. data/lib/fog/account/storm_on_demand/models/token.rb +1 -1
  5. data/lib/fog/account/storm_on_demand/requests/create_token.rb +1 -1
  6. data/lib/fog/account/storm_on_demand/requests/expire_token.rb +1 -1
  7. data/lib/fog/billing/storm_on_demand.rb +6 -6
  8. data/lib/fog/billing/storm_on_demand/models/invoices.rb +1 -1
  9. data/lib/fog/billing/storm_on_demand/models/payments.rb +1 -1
  10. data/lib/fog/billing/storm_on_demand/requests/get_invoice.rb +1 -1
  11. data/lib/fog/billing/storm_on_demand/requests/list_invoices.rb +1 -1
  12. data/lib/fog/billing/storm_on_demand/requests/make_payment.rb +1 -1
  13. data/lib/fog/billing/storm_on_demand/requests/next_invoice.rb +1 -1
  14. data/lib/fog/bin/storm_on_demand.rb +1 -1
  15. data/lib/fog/compute/storm_on_demand.rb +14 -14
  16. data/lib/fog/compute/storm_on_demand/models/configs.rb +1 -1
  17. data/lib/fog/compute/storm_on_demand/models/images.rb +1 -1
  18. data/lib/fog/compute/storm_on_demand/models/notifications.rb +2 -2
  19. data/lib/fog/compute/storm_on_demand/models/product.rb +1 -1
  20. data/lib/fog/compute/storm_on_demand/models/products.rb +1 -1
  21. data/lib/fog/compute/storm_on_demand/models/server.rb +2 -2
  22. data/lib/fog/compute/storm_on_demand/models/servers.rb +1 -1
  23. data/lib/fog/compute/storm_on_demand/models/templates.rb +1 -1
  24. data/lib/fog/compute/storm_on_demand/requests/create_image.rb +1 -1
  25. data/lib/fog/compute/storm_on_demand/requests/current_notifications.rb +1 -1
  26. data/lib/fog/compute/storm_on_demand/requests/delete_image.rb +1 -1
  27. data/lib/fog/compute/storm_on_demand/requests/get_config_details.rb +1 -1
  28. data/lib/fog/compute/storm_on_demand/requests/get_image_details.rb +1 -1
  29. data/lib/fog/compute/storm_on_demand/requests/get_notification.rb +1 -1
  30. data/lib/fog/compute/storm_on_demand/requests/get_product.rb +1 -1
  31. data/lib/fog/compute/storm_on_demand/requests/get_product_code.rb +1 -1
  32. data/lib/fog/compute/storm_on_demand/requests/get_product_price.rb +1 -1
  33. data/lib/fog/compute/storm_on_demand/requests/get_product_starting_price.rb +1 -1
  34. data/lib/fog/compute/storm_on_demand/requests/get_template_details.rb +1 -1
  35. data/lib/fog/compute/storm_on_demand/requests/list_notifications.rb +1 -1
  36. data/lib/fog/compute/storm_on_demand/requests/list_products.rb +1 -1
  37. data/lib/fog/compute/storm_on_demand/requests/resolve_notification.rb +1 -1
  38. data/lib/fog/compute/storm_on_demand/requests/restore_image.rb +1 -1
  39. data/lib/fog/compute/storm_on_demand/requests/restore_template.rb +1 -1
  40. data/lib/fog/compute/storm_on_demand/requests/server_history.rb +1 -1
  41. data/lib/fog/compute/storm_on_demand/requests/server_status.rb +1 -1
  42. data/lib/fog/compute/storm_on_demand/requests/shutdown_server.rb +1 -1
  43. data/lib/fog/compute/storm_on_demand/requests/start_server.rb +1 -1
  44. data/lib/fog/compute/storm_on_demand/requests/update_image.rb +1 -1
  45. data/lib/fog/compute/storm_on_demand/requests/update_server.rb +1 -1
  46. data/lib/fog/dns/storm_on_demand.rb +10 -10
  47. data/lib/fog/dns/storm_on_demand/models/domains.rb +1 -1
  48. data/lib/fog/dns/storm_on_demand/models/records.rb +1 -1
  49. data/lib/fog/dns/storm_on_demand/models/zone.rb +2 -2
  50. data/lib/fog/dns/storm_on_demand/models/zones.rb +1 -1
  51. data/lib/fog/dns/storm_on_demand/requests/check_zone_delegation.rb +1 -1
  52. data/lib/fog/dns/storm_on_demand/requests/create_record.rb +1 -1
  53. data/lib/fog/dns/storm_on_demand/requests/create_record_region.rb +1 -1
  54. data/lib/fog/dns/storm_on_demand/requests/create_zone.rb +1 -1
  55. data/lib/fog/dns/storm_on_demand/requests/delete_record.rb +1 -1
  56. data/lib/fog/dns/storm_on_demand/requests/delete_record_region.rb +1 -1
  57. data/lib/fog/dns/storm_on_demand/requests/delete_reverse.rb +1 -1
  58. data/lib/fog/dns/storm_on_demand/requests/delete_zone.rb +1 -1
  59. data/lib/fog/dns/storm_on_demand/requests/get_record.rb +1 -1
  60. data/lib/fog/dns/storm_on_demand/requests/get_zone.rb +1 -1
  61. data/lib/fog/dns/storm_on_demand/requests/list_domains.rb +1 -1
  62. data/lib/fog/dns/storm_on_demand/requests/list_records.rb +1 -1
  63. data/lib/fog/dns/storm_on_demand/requests/list_zones.rb +1 -1
  64. data/lib/fog/dns/storm_on_demand/requests/renew_domain.rb +1 -1
  65. data/lib/fog/dns/storm_on_demand/requests/update_record.rb +1 -1
  66. data/lib/fog/dns/storm_on_demand/requests/update_record_region.rb +1 -1
  67. data/lib/fog/dns/storm_on_demand/requests/update_reverse.rb +1 -1
  68. data/lib/fog/dns/storm_on_demand/requests/update_zone.rb +1 -1
  69. data/lib/fog/monitoring/storm_on_demand.rb +8 -8
  70. data/lib/fog/monitoring/storm_on_demand/models/monitor_services.rb +1 -1
  71. data/lib/fog/monitoring/storm_on_demand/requests/get_bandwidth_graph.rb +1 -1
  72. data/lib/fog/monitoring/storm_on_demand/requests/get_bandwidth_stats.rb +1 -1
  73. data/lib/fog/monitoring/storm_on_demand/requests/get_load_graph.rb +1 -1
  74. data/lib/fog/monitoring/storm_on_demand/requests/get_load_stats.rb +1 -1
  75. data/lib/fog/monitoring/storm_on_demand/requests/get_service.rb +1 -1
  76. data/lib/fog/monitoring/storm_on_demand/requests/get_service_status.rb +1 -1
  77. data/lib/fog/monitoring/storm_on_demand/requests/monitoring_ips.rb +1 -1
  78. data/lib/fog/monitoring/storm_on_demand/requests/update_service.rb +1 -1
  79. data/lib/fog/network/storm_on_demand.rb +12 -12
  80. data/lib/fog/network/storm_on_demand/models/balancers.rb +4 -4
  81. data/lib/fog/network/storm_on_demand/models/firewalls.rb +2 -2
  82. data/lib/fog/network/storm_on_demand/models/network_ips.rb +3 -3
  83. data/lib/fog/network/storm_on_demand/models/pools.rb +1 -1
  84. data/lib/fog/network/storm_on_demand/models/private_ips.rb +5 -5
  85. data/lib/fog/network/storm_on_demand/models/rulesets.rb +1 -1
  86. data/lib/fog/network/storm_on_demand/requests/add_balancer_service.rb +1 -1
  87. data/lib/fog/network/storm_on_demand/requests/add_ip_to_server.rb +1 -1
  88. data/lib/fog/network/storm_on_demand/requests/attach_server_to_private_ip.rb +1 -1
  89. data/lib/fog/network/storm_on_demand/requests/check_balancer_available.rb +1 -1
  90. data/lib/fog/network/storm_on_demand/requests/check_server_attached.rb +1 -1
  91. data/lib/fog/network/storm_on_demand/requests/create_balancer.rb +1 -1
  92. data/lib/fog/network/storm_on_demand/requests/create_pool.rb +1 -1
  93. data/lib/fog/network/storm_on_demand/requests/create_ruleset.rb +1 -1
  94. data/lib/fog/network/storm_on_demand/requests/delete_balancer.rb +1 -1
  95. data/lib/fog/network/storm_on_demand/requests/delete_pool.rb +1 -1
  96. data/lib/fog/network/storm_on_demand/requests/detach_server_from_private_ip.rb +1 -1
  97. data/lib/fog/network/storm_on_demand/requests/get_assignments.rb +1 -1
  98. data/lib/fog/network/storm_on_demand/requests/get_balancer_details.rb +1 -1
  99. data/lib/fog/network/storm_on_demand/requests/get_balancer_possible_nodes.rb +1 -1
  100. data/lib/fog/network/storm_on_demand/requests/get_balancer_strategies.rb +1 -1
  101. data/lib/fog/network/storm_on_demand/requests/get_firewall.rb +1 -1
  102. data/lib/fog/network/storm_on_demand/requests/get_firewall_basic_options.rb +1 -1
  103. data/lib/fog/network/storm_on_demand/requests/get_firewall_rules.rb +1 -1
  104. data/lib/fog/network/storm_on_demand/requests/get_ip_details.rb +1 -1
  105. data/lib/fog/network/storm_on_demand/requests/get_pool.rb +1 -1
  106. data/lib/fog/network/storm_on_demand/requests/get_private_ip.rb +1 -1
  107. data/lib/fog/network/storm_on_demand/requests/get_ruleset.rb +1 -1
  108. data/lib/fog/network/storm_on_demand/requests/get_zone.rb +1 -1
  109. data/lib/fog/network/storm_on_demand/requests/list_ip_public_accounts.rb +1 -1
  110. data/lib/fog/network/storm_on_demand/requests/list_network_ips.rb +1 -1
  111. data/lib/fog/network/storm_on_demand/requests/list_network_public_ips.rb +1 -1
  112. data/lib/fog/network/storm_on_demand/requests/list_rulesets.rb +1 -1
  113. data/lib/fog/network/storm_on_demand/requests/list_zones.rb +1 -1
  114. data/lib/fog/network/storm_on_demand/requests/remove_balancer_service.rb +1 -1
  115. data/lib/fog/network/storm_on_demand/requests/remove_ip_from_server.rb +1 -1
  116. data/lib/fog/network/storm_on_demand/requests/request_new_ips.rb +1 -1
  117. data/lib/fog/network/storm_on_demand/requests/set_default_zone.rb +1 -1
  118. data/lib/fog/network/storm_on_demand/requests/update_balancer.rb +1 -1
  119. data/lib/fog/network/storm_on_demand/requests/update_firewall.rb +1 -1
  120. data/lib/fog/network/storm_on_demand/requests/update_pool.rb +1 -1
  121. data/lib/fog/network/storm_on_demand/requests/update_ruleset.rb +1 -1
  122. data/lib/fog/storage/storm_on_demand.rb +6 -6
  123. data/lib/fog/storage/storm_on_demand/models/clusters.rb +1 -1
  124. data/lib/fog/storage/storm_on_demand/models/volumes.rb +1 -1
  125. data/lib/fog/storage/storm_on_demand/requests/attach_volume_to_server.rb +1 -1
  126. data/lib/fog/storage/storm_on_demand/requests/create_volume.rb +1 -1
  127. data/lib/fog/storage/storm_on_demand/requests/delete_volume.rb +1 -1
  128. data/lib/fog/storage/storm_on_demand/requests/detach_volume_from_server.rb +1 -1
  129. data/lib/fog/storage/storm_on_demand/requests/get_volume.rb +1 -1
  130. data/lib/fog/storage/storm_on_demand/requests/list_clusters.rb +1 -1
  131. data/lib/fog/storage/storm_on_demand/requests/list_volumes.rb +1 -1
  132. data/lib/fog/storage/storm_on_demand/requests/resize_volume.rb +1 -1
  133. data/lib/fog/storage/storm_on_demand/requests/update_volume.rb +1 -1
  134. data/lib/fog/storm_on_demand.rb +22 -22
  135. data/lib/fog/storm_on_demand/shared.rb +5 -5
  136. data/lib/fog/storm_on_demand/version.rb +1 -1
  137. data/lib/fog/support/storm_on_demand.rb +6 -6
  138. data/lib/fog/support/storm_on_demand/models/alerts.rb +1 -1
  139. data/lib/fog/support/storm_on_demand/models/ticket.rb +4 -4
  140. data/lib/fog/support/storm_on_demand/models/tickets.rb +2 -2
  141. data/lib/fog/support/storm_on_demand/requests/add_feedback.rb +1 -1
  142. data/lib/fog/support/storm_on_demand/requests/add_transaction_feedback.rb +1 -1
  143. data/lib/fog/support/storm_on_demand/requests/authenticate.rb +1 -1
  144. data/lib/fog/support/storm_on_demand/requests/close_ticket.rb +1 -1
  145. data/lib/fog/support/storm_on_demand/requests/create_ticket.rb +1 -1
  146. data/lib/fog/support/storm_on_demand/requests/get_active_alert.rb +1 -1
  147. data/lib/fog/support/storm_on_demand/requests/get_ticket_details.rb +1 -1
  148. data/lib/fog/support/storm_on_demand/requests/list_ticket_types.rb +1 -1
  149. data/lib/fog/support/storm_on_demand/requests/list_tickets.rb +1 -1
  150. data/lib/fog/support/storm_on_demand/requests/reopen_ticket.rb +1 -1
  151. data/lib/fog/support/storm_on_demand/requests/reply_ticket.rb +1 -1
  152. data/lib/fog/vpn/storm_on_demand.rb +4 -4
  153. data/lib/fog/vpn/storm_on_demand/models/vpns.rb +1 -1
  154. data/lib/fog/vpn/storm_on_demand/requests/create_vpn.rb +1 -1
  155. data/lib/fog/vpn/storm_on_demand/requests/get_vpn.rb +1 -1
  156. data/lib/fog/vpn/storm_on_demand/requests/list_vpn_users.rb +1 -1
  157. data/lib/fog/vpn/storm_on_demand/requests/update_vpn.rb +1 -1
  158. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50e8fe9d7b25c867625587954189bccfb4d4ae71
4
- data.tar.gz: 57ab1204aa7083dab717407d3f2a6bf876a938f3
3
+ metadata.gz: 8baf89bb2de5b908bcf5a9eee87b9b640519d6db
4
+ data.tar.gz: 4bab779ec4c136473572d109fe61f6d755cdfb9b
5
5
  SHA512:
6
- metadata.gz: 697e51d971b19121d03855bc07c025fe9149d10ab80d5af66e03e56f8c2e85d95f2df4be979650246f96ba40d47babcc4be4604d90d0e2b3a53cfcd10a0f61f1
7
- data.tar.gz: acde9f792933402945e323872279c5a6d438777898f8a39eb39875323cfe38ccd34be9d69a54d60ccdb2a75d4056a70373ddc3818abd1cd5c4427a56fd9c4d55
6
+ metadata.gz: a6b78f12e188ab0761a91ac29d46f2fafa38eb49baf73d1634fd7936dc2c047d08897374d81fa30b99104c818023e44c03bc7b85460dfd510a5b401416e97cd9
7
+ data.tar.gz: c1245b29a8889ed35e278168aa0635cec345ce6d1adb1e78af36f92dc7297a671b5552b1c8a30c9923c86d7371b9b14d33b1708a39b9296d1292ce216c582955
@@ -14,7 +14,10 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = ""
15
15
  spec.license = "MIT"
16
16
 
17
- spec.files = `git ls-files -z`.split("\x0")
17
+ files = `git ls-files -z`.split("\x0")
18
+ files.delete(".hound.yml")
19
+ spec.files = files
20
+
18
21
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
22
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
23
  spec.require_paths = ["lib"]
@@ -1,17 +1,17 @@
1
1
  module Fog
2
2
  module Account
3
3
  class StormOnDemand < Fog::Service
4
- autoload :Token, 'fog/account/storm_on_demand/models/token'
5
- autoload :Tokens, 'fog/account/storm_on_demand/models/tokens'
4
+ autoload :Token, File.expand_path("../account/storm_on_demand/models/token", __FILE__)
5
+ autoload :Tokens, File.expand_path("../account/storm_on_demand/models/tokens", __FILE__)
6
6
 
7
7
  requires :storm_on_demand_username, :storm_on_demand_password
8
8
  recognizes :storm_on_demand_auth_url
9
9
 
10
- model_path 'fog/account/storm_on_demand/models'
10
+ model_path "fog/account/storm_on_demand/models"
11
11
  model :token
12
12
  collection :tokens
13
13
 
14
- request_path 'fog/account/storm_on_demand/requests'
14
+ request_path "fog/account/storm_on_demand/requests"
15
15
  request :create_token
16
16
  request :expire_token
17
17
 
@@ -6,7 +6,7 @@ module Fog
6
6
  attribute :expires
7
7
 
8
8
  def expire
9
- service.expire_token.body['expired'].to_i == 1 ? true : false
9
+ service.expire_token.body["expired"].to_i == 1 ? true : false
10
10
  end
11
11
  end
12
12
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def create_token(options = {})
6
6
  request(
7
- :path => '/Account/Auth/token',
7
+ :path => "/Account/Auth/token",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def expire_token(options = {})
6
6
  request(
7
- :path => '/Account/Auth/expireToken',
7
+ :path => "/Account/Auth/expireToken",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -1,21 +1,21 @@
1
1
  module Fog
2
2
  module Billing
3
3
  class StormOnDemand < Fog::Service
4
- autoload :Invoice, 'fog/billing/storm_on_demand/models/invoice'
5
- autoload :Invoices, 'fog/billing/storm_on_demand/models/invoices'
6
- autoload :Payment, 'fog/billing/storm_on_demand/models/payment'
7
- autoload :Payments, 'fog/billing/storm_on_demand/models/payments'
4
+ autoload :Invoice, File.expand_path("../billing/storm_on_demand/models/invoice", __FILE__)
5
+ autoload :Invoices, File.expand_path("../billing/storm_on_demand/models/invoices", __FILE__)
6
+ autoload :Payment, File.expand_path("../billing/storm_on_demand/models/payment", __FILE__)
7
+ autoload :Payments, File.expand_path("../billing/storm_on_demand/models/payments", __FILE__)
8
8
 
9
9
  requires :storm_on_demand_username, :storm_on_demand_password
10
10
  recognizes :storm_on_demand_auth_url
11
11
 
12
- model_path 'fog/billing/storm_on_demand/models'
12
+ model_path "fog/billing/storm_on_demand/models"
13
13
  model :invoice
14
14
  collection :invoices
15
15
  model :payment
16
16
  collection :payments
17
17
 
18
- request_path 'fog/billing/storm_on_demand/requests'
18
+ request_path "fog/billing/storm_on_demand/requests"
19
19
  request :list_invoices
20
20
  request :get_invoice
21
21
  request :next_invoice
@@ -5,7 +5,7 @@ module Fog
5
5
  model Fog::Billing::StormOnDemand::Invoice
6
6
 
7
7
  def all(options = {})
8
- invoices = service.list_invoices(options).body['items']
8
+ invoices = service.list_invoices(options).body["items"]
9
9
  load(invoices)
10
10
  end
11
11
 
@@ -6,7 +6,7 @@ module Fog
6
6
 
7
7
  def make(amount, card_code)
8
8
  service.make_payment(:amount => amount,
9
- :card_code => card_code).body['amount']
9
+ :card_code => card_code).body["amount"]
10
10
  end
11
11
  end
12
12
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_invoice(options = {})
6
6
  request(
7
- :path => '/Billing/Invoice/details',
7
+ :path => "/Billing/Invoice/details",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def list_invoices(options = {})
6
6
  request(
7
- :path => '/Billing/Invoice/list',
7
+ :path => "/Billing/Invoice/list",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def make_payment(options = {})
6
6
  request(
7
- :path => '/Billing/Payment/make',
7
+ :path => "/Billing/Payment/make",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def next_invoice(options = {})
6
6
  request(
7
- :path => '/Billing/Invoice/next',
7
+ :path => "/Billing/Invoice/next",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -14,7 +14,7 @@ class StormOnDemand < Fog::Bin
14
14
  hash[key] = case key
15
15
  when :storm_on_demand
16
16
  Fog::Logger.warning("StormOnDemand[:compute] is not recommended, use Compute[:stormondemand] for portability")
17
- Fog::Compute.new(:provider => 'StormOnDemand')
17
+ Fog::Compute.new(:provider => "StormOnDemand")
18
18
  else
19
19
  raise ArgumentError, "Unrecognized service: #{key.inspect}"
20
20
  end
@@ -1,23 +1,23 @@
1
1
  module Fog
2
2
  module Compute
3
3
  class StormOnDemand < Fog::Service
4
- autoload :Config, 'fog/compute/storm_on_demand/models/config'
5
- autoload :Configs, 'fog/compute/storm_on_demand/models/configs'
6
- autoload :Image, 'fog/compute/storm_on_demand/models/image'
7
- autoload :Images, 'fog/compute/storm_on_demand/models/images'
8
- autoload :Notification, 'fog/compute/storm_on_demand/models/notification'
9
- autoload :Notifications, 'fog/compute/storm_on_demand/models/notifications'
10
- autoload :Product, 'fog/compute/storm_on_demand/models/product'
11
- autoload :Products, 'fog/compute/storm_on_demand/models/products'
12
- autoload :Server, 'fog/compute/storm_on_demand/models/server'
13
- autoload :Servers, 'fog/compute/storm_on_demand/models/servers'
14
- autoload :Template, 'fog/compute/storm_on_demand/models/template'
15
- autoload :Templates, 'fog/compute/storm_on_demand/models/templates'
4
+ autoload :Config, File.expand_path("../compute/storm_on_demand/models/config", __FILE__)
5
+ autoload :Configs, File.expand_path("../compute/storm_on_demand/models/configs", __FILE__)
6
+ autoload :Image, File.expand_path("../compute/storm_on_demand/models/image", __FILE__)
7
+ autoload :Images, File.expand_path("../compute/storm_on_demand/models/images", __FILE__)
8
+ autoload :Notification, File.expand_path("../compute/storm_on_demand/models/notification", __FILE__)
9
+ autoload :Notifications, File.expand_path("../compute/storm_on_demand/models/notifications", __FILE__)
10
+ autoload :Product, File.expand_path("../compute/storm_on_demand/models/product", __FILE__)
11
+ autoload :Products, File.expand_path("../compute/storm_on_demand/models/products", __FILE__)
12
+ autoload :Server, File.expand_path("../compute/storm_on_demand/models/server", __FILE__)
13
+ autoload :Servers, File.expand_path("../compute/storm_on_demand/models/servers", __FILE__)
14
+ autoload :Template, File.expand_path("../compute/storm_on_demand/models/template", __FILE__)
15
+ autoload :Templates, File.expand_path("../compute/storm_on_demand/models/templates", __FILE__)
16
16
 
17
17
  requires :storm_on_demand_username, :storm_on_demand_password
18
18
  recognizes :storm_on_demand_auth_url
19
19
 
20
- model_path 'fog/compute/storm_on_demand/models'
20
+ model_path "fog/compute/storm_on_demand/models"
21
21
  model :config
22
22
  collection :configs
23
23
  model :image
@@ -31,7 +31,7 @@ module Fog
31
31
  model :notification
32
32
  collection :notifications
33
33
 
34
- request_path 'fog/compute/storm_on_demand/requests'
34
+ request_path "fog/compute/storm_on_demand/requests"
35
35
  request :clone_server
36
36
  request :delete_server
37
37
  request :reboot_server
@@ -5,7 +5,7 @@ module Fog
5
5
  model Fog::Compute::StormOnDemand::Config
6
6
 
7
7
  def all(options = {})
8
- data = service.list_configs(options).body['items']
8
+ data = service.list_configs(options).body["items"]
9
9
  load(data)
10
10
  end
11
11
 
@@ -15,7 +15,7 @@ module Fog
15
15
  end
16
16
 
17
17
  def all(options = {})
18
- data = service.list_images(options).body['items']
18
+ data = service.list_images(options).body["items"]
19
19
  load(data)
20
20
  end
21
21
  end
@@ -5,12 +5,12 @@ module Fog
5
5
  model Fog::Compute::StormOnDemand::Notification
6
6
 
7
7
  def all(options = {})
8
- data = service.list_notifications(options).body['items']
8
+ data = service.list_notifications(options).body["items"]
9
9
  load(data)
10
10
  end
11
11
 
12
12
  def current(options = {})
13
- data = service.current_notifications(options).body['items']
13
+ data = service.current_notifications(options).body["items"]
14
14
  load(data)
15
15
  end
16
16
 
@@ -23,7 +23,7 @@ module Fog
23
23
 
24
24
  def starting_price
25
25
  requires :identity
26
- service.get_product_starting_price(:code => identity).body['items']
26
+ service.get_product_starting_price(:code => identity).body["items"]
27
27
  end
28
28
  end
29
29
  end
@@ -14,7 +14,7 @@ module Fog
14
14
  end
15
15
 
16
16
  def all(options = {})
17
- service.list_products(options).body['items']
17
+ service.list_products(options).body["items"]
18
18
  end
19
19
  end
20
20
  end
@@ -1,4 +1,4 @@
1
- require 'fog/compute/models/server'
1
+ require "fog/compute/models/server"
2
2
 
3
3
  module Fog
4
4
  module Compute
@@ -59,7 +59,7 @@ module Fog
59
59
  requires :identity
60
60
  params = {:uniq_id => identity}.merge!(options)
61
61
  res = service.server_history(params).body
62
- res['items']
62
+ res["items"]
63
63
  end
64
64
 
65
65
  def shutdown(options = {})
@@ -5,7 +5,7 @@ module Fog
5
5
  model Fog::Compute::StormOnDemand::Server
6
6
 
7
7
  def all(options = {})
8
- data = service.list_servers(options).body['items']
8
+ data = service.list_servers(options).body["items"]
9
9
  load(data)
10
10
  end
11
11
 
@@ -5,7 +5,7 @@ module Fog
5
5
  model Fog::Compute::StormOnDemand::Template
6
6
 
7
7
  def all(options = {})
8
- data = service.list_templates(options).body['items']
8
+ data = service.list_templates(options).body["items"]
9
9
  load(data)
10
10
  end
11
11
 
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def create_image(options = {})
6
6
  request(
7
- :path => '/Storm/Image/create',
7
+ :path => "/Storm/Image/create",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def current_notifications(options = {})
6
6
  request(
7
- :path => '/Notifications/current',
7
+ :path => "/Notifications/current",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def delete_image(options = {})
6
6
  request(
7
- :path => '/Storm/Image/delete',
7
+ :path => "/Storm/Image/delete",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_config_details(options = {})
6
6
  request(
7
- :path => '/Storm/Config/details',
7
+ :path => "/Storm/Config/details",
8
8
  :body => Fog::JSON.encode({ :params => options })
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_image_details(options = {})
6
6
  request(
7
- :path => '/Storm/Image/details',
7
+ :path => "/Storm/Image/details",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_notification(options = {})
6
6
  request(
7
- :path => '/Notifications/details',
7
+ :path => "/Notifications/details",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_product(options = {})
6
6
  request(
7
- :path => '/Product/details',
7
+ :path => "/Product/details",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_product_code(options = {})
6
6
  request(
7
- :path => '/Product/getProductCodeFromPath',
7
+ :path => "/Product/getProductCodeFromPath",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_product_price(options = {})
6
6
  request(
7
- :path => '/Product/price',
7
+ :path => "/Product/price",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_product_starting_price(options = {})
6
6
  request(
7
- :path => '/Product/startingPrice',
7
+ :path => "/Product/startingPrice",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def get_template_details(options = {})
6
6
  request(
7
- :path => '/Storm/Template/details',
7
+ :path => "/Storm/Template/details",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def list_notifications(options = {})
6
6
  request(
7
- :path => '/Notifications/all',
7
+ :path => "/Notifications/all",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def list_products(options = {})
6
6
  request(
7
- :path => '/Product/list',
7
+ :path => "/Product/list",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  def resolve_notification(options = {})
6
6
  request(
7
- :path => '/Notifications/resolve',
7
+ :path => "/Notifications/resolve",
8
8
  :body => Fog::JSON.encode(:params => options)
9
9
  )
10
10
  end