Sha256: 4e7ea649b766162fe0a67a3ac275e76957cf1cbdde7e4f169a9f8e00fcad2181

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

require 'xml/mapping'

module OpenAustralia
  # debate search info
  class SearchInfo
    include XML::Mapping

    text_node :s, 's', :default_value => nil #what to call this?
    numeric_node :results_per_age, 'results_per_page', :default_value => nil
    numeric_node :page, 'page', :default_value => nil
    numeric_node :total_results, 'total_results', :default_value => nil
    numeric_node :first_result, 'first_result', :default_value => nil
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openaustralia-1.0.2 lib/openaustralia/search_info.rb
openaustralia-1.0.1 lib/openaustralia/search_info.rb
openaustralia-1.0.0 lib/openaustralia/search_info.rb