Sha256: 17d55137c7dbaa97a10ca437f2f5a59e9ea33e400bdf39f8f8ce05c2a789c672
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
module Zuora module Resources InvalidModel = Class.new(StandardError) def self.with_valid(model, &block) if model.valid? block.call model else fail InvalidModel, model end end end end require_relative 'resources/accounts' require_relative 'resources/payment_methods' require_relative 'resources/subscriptions'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zuora-ruby-0.1.0 | lib/zuora/resources.rb |