Method: Podio::PromotionGroupMember.create

Defined in:
lib/podio/models/promotion_group_member.rb

.create(attributes) ⇒ Object



10
11
12
13
14
15
# File 'lib/podio/models/promotion_group_member.rb', line 10

def create(attributes)
  member Podio.connection.post { |req| 
    req.url("/promotion_group/#{attributes[:promotion_group_id]}/add")
    req.body = attributes
  }.body
end