Class: Naver::Searchad::Api::RequestOptions
- Inherits:
-
Struct
- Object
- Struct
- Naver::Searchad::Api::RequestOptions
- Defined in:
- lib/naver/searchad/api/options.rb,
lib/naver/searchad/api/options.rb
Instance Attribute Summary collapse
-
#authorization ⇒ Object
Returns the value of attribute authorization.
-
#header ⇒ Object
Returns the value of attribute header.
-
#normalize_unicode ⇒ Object
Returns the value of attribute normalize_unicode.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#authorization ⇒ Object
Returns the value of attribute authorization
4 5 6 |
# File 'lib/naver/searchad/api/options.rb', line 4 def @authorization end |
#header ⇒ Object
Returns the value of attribute header
4 5 6 |
# File 'lib/naver/searchad/api/options.rb', line 4 def header @header end |
#normalize_unicode ⇒ Object
Returns the value of attribute normalize_unicode
4 5 6 |
# File 'lib/naver/searchad/api/options.rb', line 4 def normalize_unicode @normalize_unicode end |
Class Method Details
.default ⇒ Object
27 28 29 |
# File 'lib/naver/searchad/api/options.rb', line 27 def self.default @options ||= RequestOptions.new end |
Instance Method Details
#merge(options) ⇒ Object
31 32 33 34 35 36 37 38 39 40 |
# File 'lib/naver/searchad/api/options.rb', line 31 def merge() return self unless = dup members.each do |opt| opt = opt.to_sym [opt] = [opt] unless [opt].nil? end end |