ucloud_api 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcceac9eb6455d43f29ab912eef2efa3a28cd9ee
4
- data.tar.gz: 5c2c687db4e29ad54097a84ac1194a5709effc30
3
+ metadata.gz: ec2e944984aaf8756f0175b00bde832ad2d316a3
4
+ data.tar.gz: a5949997388f63572380dda22365071842a8fdd0
5
5
  SHA512:
6
- metadata.gz: 7d25116b2dbe7cef1ff7db66767a8497c8cb1e98543ea33c742b59c84607e966790d3ede39a342d9b4b1209e048eb60dd832bd509b9e5c5feba957c69636c254
7
- data.tar.gz: 37324c8b51756d4294aa29d7fe1346deb9db24e87a33ffdebd95aef7a6c2f525fbcdb4c7c46eaccba63a57aaf742054229761ec0592f77979d2857fd752477a2
6
+ metadata.gz: 08245333ac691ad201f9de7c3ed75792c54f837b05dd198eae59a9983cdfd5500f47f560b3fd969d7d46e0f7951be6afcd74c826e58d4ed82348e215ab372f56
7
+ data.tar.gz: e29c14224f5f600ca71a758934c74a308417c5f69cd1e4813b33dcad84fdf04f864c2aace346c7a4558f10f71d428b0dd023892c5e326e77a23b12bd1dea39b7
@@ -1,3 +1,3 @@
1
1
  module UcloudApi
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/ucloud_api.rb CHANGED
@@ -44,19 +44,19 @@ EOD
44
44
  end
45
45
 
46
46
  list_styled "listAvailableProductTypes", "producttypes"
47
- list_styled "listVirtualMacines", "virtualmachine"
47
+ list_styled "listVirtualMachines", "virtualmachine"
48
48
  list_styled "listTemplates", "template"
49
49
  list_styled "listZones", "zone"
50
50
  list_styled "listNetworks", "network"
51
51
 
52
- def method_missing m, *args, &block
53
- h = Hash[*args]
54
- h[:command] = m.to_s
55
- response = raw_cmd(h)
56
- r = response.parsed_response["#{m.to_s.downcase}response"]
57
- yield(r) if block_given?
58
- r
59
- end
52
+ # def method_missing m, *args, &block
53
+ # h = Hash[*args]
54
+ # h[:command] = m.to_s
55
+ # response = raw_cmd(h)
56
+ # r = response.parsed_response["#{m.to_s.downcase}response"]
57
+ # yield(r) if block_given?
58
+ # r
59
+ # end
60
60
 
61
61
  end
62
62
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ucloud_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beom Jae Kim