module Invoiced::Operations::List
Public Instance Methods
list(params={})
click to toggle source
# File lib/invoiced/operations/list.rb, line 4 def list(params={}) response = @client.request(:get, self.endpoint(), params) # build objects objects = Util.build_objects(self, response[:body]) # store the metadata from the list operation metadata = Invoiced::List.new(response[:headers][:link], response[:headers][:x_total_count]) return objects, metadata end