Module: PrintReleaf::Actions::List::InstanceMethods

Defined in:
lib/printreleaf/actions.rb

Instance Method Summary collapse

Instance Method Details

#list(params = {}) ⇒ Object



65
66
67
68
69
# File 'lib/printreleaf/actions.rb', line 65

def list(params={})
  PrintReleaf.get(self.uri, params).map do |response|
    self.new(response)
  end
end