megam_api 0.99 → 0.100

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: c770b13d48a7a62c776612d9a3a79c92089492c0
4
- data.tar.gz: efc66614a18410c8e631e1aa87d4365d9fd2b0ed
3
+ metadata.gz: 7b09c53165c228fc561185aaf1710885cd091833
4
+ data.tar.gz: 90ab69ccb037c5592fd85f71847dde4c3446a2fd
5
5
  SHA512:
6
- metadata.gz: 2e8f717fdb4accb9d5a0838e55680d2117dadaf4f325e0fce61a63d9c55eaf643e3ef94e4a358223b710e5fb0b5b0910f52d8f8efabbbea097e4ab40ac7da36f
7
- data.tar.gz: b2e7f6b46cba0a81289a737a3a1d9ff924f2396c921444b762c715ef63d4e8352cd649c31a47c43d015d2d1946c514a0127292aa7fb0ea8a8567dc4ce5aa295f
6
+ metadata.gz: 7440f2e7f807e534c016c0f6ad5cb0061486e5467ae126be9bcc62fb1a94e7715e01af6a5b35cdbf32ac319184663b3bb3d6b57774583d7567198c88ca1cc92b
7
+ data.tar.gz: 37c99aec1dc1ccbf9ccb17c9d0d141ddf7d4b1805b47f94841b312452ed03d222b78a23a3cb06de235bd9a82e02bd2a7c11720c3944878b097a718fb7bc6cdbc
@@ -15,6 +15,6 @@
15
15
  #
16
16
  module Megam
17
17
  class API
18
- VERSION = "0.99"
18
+ VERSION = "0.100"
19
19
  end
20
20
  end
@@ -26,6 +26,7 @@ module Megam
26
26
  @catorder = nil
27
27
  @url = nil
28
28
  @envs = []
29
+ @options = []
29
30
  @plans = nil
30
31
  @created_at = nil
31
32
  super(o)
@@ -107,6 +108,13 @@ module Megam
107
108
  end
108
109
  end
109
110
 
111
+ def options(arg = [])
112
+ if arg != []
113
+ @options = arg
114
+ else
115
+ @options
116
+ end
117
+ end
110
118
 
111
119
  def created_at(arg = nil)
112
120
  if !arg.nil?
@@ -140,6 +148,7 @@ module Megam
140
148
  index_hash['catorder'] = catorder
141
149
  index_hash['url'] = url
142
150
  index_hash['envs'] = envs
151
+ index_hash['options'] = options
143
152
  index_hash['plans'] = plans
144
153
  index_hash['created_at'] = created_at
145
154
  index_hash
@@ -161,6 +170,7 @@ module Megam
161
170
  'catorder' => catorder,
162
171
  'url' => url,
163
172
  'envs' => envs,
173
+ 'options' => options,
164
174
  'plans' => plans,
165
175
  'created_at' => created_at
166
176
  }
@@ -177,6 +187,7 @@ module Megam
177
187
  app.catorder(o['catorder']) if o.key?('catorder')
178
188
  app.url(o['url']) if o.key?('url')
179
189
  app.envs(o['envs']) if o.key?('envs')
190
+ app.options(o['options']) if o.key?('options')
180
191
  app.plans(o['plans']) if o.key?('plans')
181
192
  app.created_at(o['created_at']) if o.key?('created_at')
182
193
 
@@ -198,6 +209,7 @@ module Megam
198
209
  @catorder = o['catorder'] if o.key?('catorder')
199
210
  @url = o['url'] if o.key?('url')
200
211
  @envs = o['envs'] if o.key?('envs')
212
+ @options = o['options'] if o.key?('options')
201
213
  @plans = o['plans'] if o.key?('plans')
202
214
  @created_at = o['created_at'] if o.key?('created_at')
203
215
  self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: megam_api
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.99'
4
+ version: '0.100'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajthilak, Kishorekumar Neelamegam, Thomas Alrin, Yeshwanth Kumar, Subash Sethurajan,
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-17 00:00:00.000000000 Z
12
+ date: 2016-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon