Sha256: 6eea435d4b40d8a8063508c6bdc41e8cdc1fb348c1253b2fc1061c9e64d7bd09

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

class SuiteCRM::Module
  class << self
    def get(name, id, params = {})
      SuiteCRM::Connection.get "module/#{name}/#{id}", params
    end

    def create(params)
      SuiteCRM::Connection.post "module", params
    end

    def update(params)
      SuiteCRM::Connection.patch "module", params
    end

    def delete(name, id)
      SuiteCRM::Connection.delete "module/#{name}/#{id}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
suitecrm-ruby-1.0.0 lib/suitecrm/module.rb