class RelateIQ::ListItem
Public Class Methods
create(attributes)
click to toggle source
# File lib/relate_iq/list_item.rb, line 3 def self.create(attributes) list_id = attributes['listId'] || attributes[:listId] self.new(RelateIQ.post("lists/#{list_id}/listitems", attributes)) end