Sha256: f6838bc80a2a6c8996c6a8cbac99fd04951b050a5c38d1255371b6ec226adbf6
Contents?: true
Size: 416 Bytes
Versions: 2
Compression:
Stored size: 416 Bytes
Contents
module AMEE module Profile class Item < AMEE::Profile::Object def self.create(profile, data_item_uid, options = {}) # Send data to path options.merge! :dataItemUid => data_item_uid profile.connection.post(profile.full_path, options) rescue raise AMEE::BadData.new("Couldn't create ProfileItem. Check that your information is correct.") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
Floppy-amee-0.4.1 | lib/amee/profile_item.rb |
Floppy-amee-0.4.2 | lib/amee/profile_item.rb |