Class: Liblab::Quote::List

Inherits:
Object
  • Object
show all
Defined in:
lib/liblab/quote/list.rb

Class Method Summary collapse

Class Method Details

.call(pagination = {}) ⇒ Object



4
5
6
7
8
# File 'lib/liblab/quote/list.rb', line 4

def self.call(pagination={})
  _path = "quote?limit=#{pagination[:limit]}&page=#{pagination[:page]}" +
          "&offset=#{pagination[:offset]}"
  ::Liblab::Client::Base.new.get(_path)
end