Floppy-amee 0.4.32 → 0.4.33
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/amee/profile_item.rb +8 -4
- data/lib/amee/version.rb +1 -1
- metadata +1 -1
data/lib/amee/profile_item.rb
CHANGED
@@ -109,11 +109,15 @@ module AMEE
|
|
109
109
|
raise AMEE::BadData.new("Couldn't create ProfileItem. Check that your information is correct.")
|
110
110
|
end
|
111
111
|
|
112
|
-
def update(options = {})
|
113
|
-
response = connection.put(
|
112
|
+
def self.update(connection, path, options = {})
|
113
|
+
response = connection.put(path, options)
|
114
114
|
return Item.parse(connection, response)
|
115
|
-
rescue
|
116
|
-
|
115
|
+
#rescue
|
116
|
+
# raise AMEE::BadData.new("Couldn't update ProfileItem. Check that your information is correct.")
|
117
|
+
end
|
118
|
+
|
119
|
+
def update(options = {})
|
120
|
+
AMEE::Profile::Item.update(connection, full_path, options)
|
117
121
|
end
|
118
122
|
|
119
123
|
def self.delete(connection, path)
|
data/lib/amee/version.rb
CHANGED