lib/geo_certs/endpoints/orders.rb in geocerts-0.0.22 vs lib/geo_certs/endpoints/orders.rb in geocerts-0.0.23

- old
+ new

@@ -142,10 +142,11 @@ parameter 'order[licenses]', :as => :licenses parameter 'order[dns_names]', :as => :sans parser Parsers::OrderParser do element :order do + eval(ELEMENTS) element 'total-price', :as => :total_price, :type => Float element :csr do element 'common-name', :as => :common_name element :city @@ -161,17 +162,9 @@ element :months, :type => Integer element 'serial-number', :as => :serial_number element 'geotrust-order-id',:as => :geotrust_order_id element 'expiration-date', :as => :expires_at, :type => DateTime end - - element :warnings do - elements :warning do - element :code, :type => Float - element :message - end - end - end end end end