lib/xommelier/open_search.rb in xommelier-0.1.32 vs lib/xommelier/open_search.rb in xommelier-0.1.33

- old
+ new

@@ -1,6 +1,7 @@ # coding: utf-8 +# frozen_string_literal: true ################################################ # © Alexander Semyonov, 2011—2013, MIT License # # Author: Alexander Semyonov <al@semyonov.us> # ################################################ @@ -56,11 +57,11 @@ text type: Uri end class Query < Element - attribute :role#, type: Enum[:request, :example, :related, :correction, :subset, :superset] + attribute :role # , type: Enum[:request, :example, :related, :correction, :subset, :superset] may do attribute :title attribute :total_results, type: Integer attribute :search_terms, default: 'Xommelier' @@ -86,10 +87,10 @@ element :tags element :contact element :long_name element :developer element :attribution - element :syndication_right, type: String, default: 'open' #, type: Enum[:open, :limited, :private, :closed] + element :syndication_right, type: String, default: 'open' # , type: Enum[:open, :limited, :private, :closed] element :adult_content, type: Boolean element :language, default: '*' element :input_encoding, default: 'UTF-8' element :output_encoding, default: 'UTF-8' end