geocerts 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.22
1
+ 0.0.23
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{geocerts}
8
- s.version = "0.0.22"
8
+ s.version = "0.0.23"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["GeoCerts, Inc."]
@@ -144,6 +144,7 @@ ORDER
144
144
 
145
145
  parser Parsers::OrderParser do
146
146
  element :order do
147
+ eval(ELEMENTS)
147
148
  element 'total-price', :as => :total_price, :type => Float
148
149
 
149
150
  element :csr do
@@ -163,14 +164,6 @@ ORDER
163
164
  element 'geotrust-order-id',:as => :geotrust_order_id
164
165
  element 'expiration-date', :as => :expires_at, :type => DateTime
165
166
  end
166
-
167
- element :warnings do
168
- elements :warning do
169
- element :code, :type => Float
170
- element :message
171
- end
172
- end
173
-
174
167
  end
175
168
  end
176
169
  end
@@ -267,7 +267,11 @@ module GeoCerts
267
267
  # Sets the renewal information for the order. This method accepts either
268
268
  # a GeoCerts::RenewalInformation instance or a hash of attributes.
269
269
  #
270
- def renewal_information=(input)
270
+ # This should not need to be utilized by the end-user (API developer),
271
+ # as it is automatically populated by the server when the order is
272
+ # populated.
273
+ #
274
+ def renewal_information=(input) #:nodoc:
271
275
  case input
272
276
  when RenewalInformation
273
277
  @renewal_information = input
@@ -248,12 +248,32 @@ Server: Mongrel 1.1.3
248
248
  Status: 200 OK
249
249
  Cache-Control: no-cache
250
250
  Content-Type: application/xml; charset=utf-8
251
- Content-Length: 1267
251
+ Content-Length: 1905
252
252
  Vary: Accept-Encoding
253
253
  Connection: close
254
254
 
255
255
  <?xml version="1.0" encoding="UTF-8"?>
256
256
  <order>
257
+ <id type="integer"></id>
258
+ <domain></domain>
259
+ <geotrust-order-id></geotrust-order-id>
260
+ <status-major></status-major>
261
+ <status-minor></status-minor>
262
+ <years type="integer">1</years>
263
+ <licenses type="integer">1</licenses>
264
+ <created-at type="datetime"></created-at>
265
+ <completed-at type="datetime"></completed-at>
266
+ <trial type="boolean">false</trial>
267
+ <renewal type="boolean">false</renewal>
268
+ <sans></sans>
269
+ <state></state>
270
+ <flagged type="boolean"></flagged>
271
+ <product>
272
+ <sku>Q</sku>
273
+ </product>
274
+ <approver-email></approver-email>
275
+ <approver-notified-at type="datetime"></approver-notified-at>
276
+ <approver-confirmed-at type="datetime"></approver-confirmed-at>
257
277
  <total-price type="float">69</total-price>
258
278
  <csr>
259
279
  <common-name>www.example.com</common-name>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 22
9
- version: 0.0.22
8
+ - 23
9
+ version: 0.0.23
10
10
  platform: ruby
11
11
  authors:
12
12
  - GeoCerts, Inc.