Method: FreshdeskAPI::Collection#all!
- Defined in:
- lib/freshdesk_api/collection.rb
#all!(options = {}) ⇒ Object
Execute actual GET from API and load resources into proper class. # @return [Array] All resource
41 42 43 44 45 46 47 48 |
# File 'lib/freshdesk_api/collection.rb', line 41 def all!( = {}) .merge!() response = get_response(path) handle_response(response.body) @resources end |