Sha256: 35bc6569e3fdce7e705cdb6446ccaf6182e5e68df25e4908105725d26aefe98d
Contents?: true
Size: 714 Bytes
Versions: 17
Compression:
Stored size: 714 Bytes
Contents
module GeoCerts module Endpoints # :nodoc: module Products # :nodoc: def self.included(base) base.class_eval do endpoint GeoCerts::API::ENDPOINT do action :products, :url => '/products.xml' do parser Parsers::OrderParser do element :products do elements :product do element :name element :sku element :code element 'max-years', :as => :max_years, :type => Integer end end end end end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems