Sha256: f46b291c318649e0d8511204ed3ccf3057b3817d63aa7dc3ba34df44e3d6830f

Contents?: true

Size: 371 Bytes

Versions: 94

Compression:

Stored size: 371 Bytes

Contents

require_relative 'error_factory'

class ReeErrors::PaymentRequiredError < ReeErrors::ErrorFactory
  include Ree::BeanDSL

  bean :payment_required_error do
    link :build_error
    link 'ree_errors/error', -> { Error }
  end

  contract Symbol, Nilor[String] => SubclassOf[Error]
  def build(code, locale = nil)
    build_error(:payment_required, code, locale)
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
ree_lib-1.0.74 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.73 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.72 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.71 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.70 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.69 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.68 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.67 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.66 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.65 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.64 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.63 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.62 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.61 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.60 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.59 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.58 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.57 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.56 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb
ree_lib-1.0.55 lib/ree_lib/packages/ree_errors/package/ree_errors/payment_required_error.rb