lib/contact-data/contact.rb in contact-data-0.2.1 vs lib/contact-data/contact.rb in contact-data-0.2.2
- old
+ new
@@ -1,9 +1,12 @@
# encoding: utf-8
module ContactData
class Contact
+ BASE = :contacts
+
class << self
def search(name, options = {})
+ options[:base] = BASE
options[:params] = { name: name }
Fetcher.get(:search, options)
end
end
end