Module: Rubypress::Options

Included in:
Client
Defined in:
lib/rubypress/options.rb

Instance Method Summary collapse

Instance Method Details

#getOptions(options = {}) ⇒ Object



5
6
7
8
9
10
# File 'lib/rubypress/options.rb', line 5

def getOptions(options = {})
  default_options = {
    :options => []
  }.deep_merge!(options)
  execute('getOptions', default_options)
end

#setOptions(options = {}) ⇒ Object



12
13
14
15
16
17
# File 'lib/rubypress/options.rb', line 12

def setOptions(options = {})
  default_options = {
    :options => []
  }.deep_merge!(options)
  execute('setOptions', default_options)
end