lib/lipseys/catalog.rb in lipseys-2.0.1 vs lib/lipseys/catalog.rb in lipseys-2.0.2
- old
+ new
@@ -2,16 +2,16 @@
class Catalog < Base
API_URL = 'https://www.lipseys.com/API/catalog.ashx'
def initialize(options = {})
- requires!(options, :email, :pass)
+ requires!(options, :username, :password)
@options = options
end
def self.all(chunk_size = 15, options = {}, &block)
- requires!(options, :email, :pass)
+ requires!(options, :username, :password)
new(options).all(chunk_size, &block)
end
def self.accessories(options = {})
new(options).accessories