Sha256: 25f520c051fc93d3344d9b76bc33f8b766e3e0aaf596ffbeb58dbc216b6c1481
Contents?: true
Size: 449 Bytes
Versions: 11
Compression:
Stored size: 449 Bytes
Contents
module Cobrato module Resources class Payer < Base crud :show, :list, :create, :update %w[show list create update].each do |method| define_method method do |*args| puts "Warning: The #{self.class.name}##{method} method is depracated. See Cobrato API docs for more info" super(*args) end end protected def irregular_resource_name "people" end end end end
Version data entries
11 entries across 11 versions & 1 rubygems