class Naver::Searchad::Api::RequestOptions
Public Class Methods
default()
click to toggle source
# File lib/naver/searchad/api/options.rb, line 27 def self.default @options ||= RequestOptions.new end
Public Instance Methods
merge(options)
click to toggle source
# File lib/naver/searchad/api/options.rb, line 31 def merge(options) return self unless options new_options = dup members.each do |opt| opt = opt.to_sym new_options[opt] = options[opt] unless options[opt].nil? end new_options end