Sha256: ba5bcfc0daa15a03dc06cfec532db0f7cae695939b718cce3c8d53dfcd81b9cc
Contents?: true
Size: 566 Bytes
Versions: 1
Compression:
Stored size: 566 Bytes
Contents
# encoding: utf-8 module Zuora module Resources module Subscriptions RESOURCE_URI = '/rest/v1/subscriptions' def self.create!(client, model, serializer = Zuora::Serializers::Noop) Zuora::Resources.with_valid model do |mod| client.post RESOURCE_URI, serializer.serialize(mod) end end def self.update!(client, model, serializer = Zuora::Serializers::Noop) Zuora::Resources.with_valid model do |mod| client.post RESOURCE_URI, serializer.serialize(mod) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zuora-ruby-0.1.0 | lib/zuora/resources/subscriptions.rb |