Method: Webmaster::Base#arguments

Defined in:
lib/webmaster/base.rb

#arguments(args = (not_set = true), options = {}, &block) ⇒ Object

Acts as setter and getter for api requests arguments parsing.

Returns Arguments instance.



67
68
69
70
71
72
73
# File 'lib/webmaster/base.rb', line 67

def arguments(args=(not_set = true), options={}, &block)
  if not_set
    @arguments
  else
    @arguments = Arguments.new(self, options).parse(*args, &block)
  end
end