Floppy-amee 0.4.32 → 0.4.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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