Sha256: 29bdbdcdf3765f849039fc86d51ce3f2de35ff375e58a7a1a6651ec15a867d67

Contents?: true

Size: 478 Bytes

Versions: 17

Compression:

Stored size: 478 Bytes

Contents

module GeoCerts
  module Endpoints # :nodoc:
    
    module Agreements # :nodoc:
      
      def self.included(base)
        base.class_eval do
          endpoint GeoCerts::API::ENDPOINT do
            
            action :agreement, :url => '/products/:product_id/agreement.xml' do
              parser Parsers::OrderParser do
                element :agreement
              end
            end
            
          end
        end
      end
      
    end
    
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
geocerts-1.0.1 lib/geo_certs/endpoints/agreements.rb
geocerts-1.0.0 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.25 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.24 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.23 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.22 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.21 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.20 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.19 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.18 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.17 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.16 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.15 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.14 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.13 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.12 lib/geo_certs/endpoints/agreements.rb
geocerts-0.0.11 lib/geo_certs/endpoints/agreements.rb