Method: Github::API#arguments
- Defined in:
- lib/github_api/api.rb
#arguments(args = (not_set = true), options = {}, &block) ⇒ Object
Acts as setter and getter for api requests arguments parsing.
Returns Arguments instance.
92 93 94 95 96 97 98 |
# File 'lib/github_api/api.rb', line 92 def arguments(args=(not_set = true), ={}, &block) if not_set @arguments else @arguments = Arguments.new(self, ).parse(*args, &block) end end |