Class: Lce::Product

Inherits:
Hashie::Mash
  • Object
show all
Includes:
Hashie::Extensions::Coercion
Defined in:
lib/lce/product.rb

Class Method Summary collapse

Class Method Details

.allObject



9
10
11
12
13
14
# File 'lib/lce/product.rb', line 9

def all
  response = Lce.client.get('products', nil, nil, nil , nil)
  response.map! do |q|
    new(q)
  end        
end