Method: Nimbu::Endpoints::Roles#list
- Defined in:
- lib/nimbu-api/endpoints/roles.rb
#list(*args) ⇒ Object Also known as: all
6 7 8 9 10 11 12 |
# File 'lib/nimbu-api/endpoints/roles.rb', line 6 def list(*args) arguments(args) response = get_request("/roles", arguments.params) return response unless block_given? response.each { |el| yield el } end |