Method: Clayful::Collection.update

Defined in:
lib/models/collection.rb

.update(*args) ⇒ Object



133
134
135
136
137
138
139
140
141
142
143
144
# File 'lib/models/collection.rb', line 133

def self.update(*args)

  Clayful.call_api({
    'model_name'       => @@name,
    'method_name'      => 'update',
    'http_method'      => 'PUT',
    'path'             => '/v1/collections/{collectionId}',
    'params'           => ['collectionId', ],
    'args'             => args
  })

end