lib/amee/session.rb in hookercookerman-amee-0.0.9 vs lib/amee/session.rb in hookercookerman-amee-0.1.0
- old
+ new
@@ -151,10 +151,10 @@
end
# @return [String] locaion of the new resource
def create_profile_item(path, uid, options = {})
@cache.clear
- api_call(:post, "create.profile_item", path,
+ api_call(:post, "profile_item", path,
:query => {:dataItemUid => uid, :representation => "full"}.merge(options[:fields])) do |response|
Amee::ProfileApi::ProfileItem.from_hash(response, self)
end
end
\ No newline at end of file