lib/amee/profile_api/profile_item.rb in hookercookerman-amee-0.1.8 vs lib/amee/profile_api/profile_item.rb in hookercookerman-amee-0.1.9

- old
+ new

@@ -12,9 +12,11 @@ list_populators :item_values => {:class => Amee::DataApi::DataItemValue} item_populators :data_category => {:class => Amee::DataApi::DataCategory}, :item_definition => {:class => Amee::DataApi::ItemDefinition} + # @todo This currently will not work as profile data_item brings back a profile_category + # How stupid is that! def self.create(session, path, data_item_uid, fields ={}) hash = session.create_profile_item(path, data_item_uid, {:fields => fields, :hash_response => true}) self.from_hash(hash, session) end \ No newline at end of file