Sha256: 604de14fffed8ecd5704c52c24fe6415e6d46b3048632f25d8c61b937a32069f
Contents?: true
Size: 447 Bytes
Versions: 1
Compression:
Stored size: 447 Bytes
Contents
class SuiteCRM::Relationship class << self def get(name, id, related) SuiteCRM::Connection.get "module/#{name}/#{id}/relationships/#{related}", {} end def create(name, id, params) SuiteCRM::Connection.post "module/#{name}/#{id}/relationships", params end def delete(name, id, related, related_id) SuiteCRM::Connection.delete "module/#{name}/#{id}/relationships/#{related}/#{related_id}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
suitecrm-ruby-1.0.0 | lib/suitecrm/relationship.rb |