Sha256: 4f8e80dbb99cbecd559792e311408804f0f254fb0c1414d9a7df9be41c971cb5

Contents?: true

Size: 499 Bytes

Versions: 2

Compression:

Stored size: 499 Bytes

Contents

module Shoppr
  class GeneralSearchResponse
    include ROXML
    xml_convention {|val| val.camelize(:lower) }
    xml_reader :related_terms, :as => [], :in => 'related_terms', :from => 'term'
    xml_reader :server_detail, :as => ServerDetail
    xml_reader :exceptions, :as => [APIException], :in => 'exceptions'
    xml_reader :client_tracking, :as => ClientTracking
    xml_reader :search_history, :as => SearchHistory
    xml_reader :categories, :as => [Category], :in => 'categories'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoppr-0.1.1 lib/shoppr/general_search_response.rb
shoppr-0.1.0 lib/shoppr/general_search_response.rb