Sha256: a8858c3cc5bfc1cd894adc8d067bc61e599b6506d683ce6c85bfec1943746ae5

Contents?: true

Size: 467 Bytes

Versions: 25

Compression:

Stored size: 467 Bytes

Contents

module Recurly
  class Entitlement < Resource
    # @return [Account]
    belongs_to :account

    define_attribute_methods %w(
      account
      customer_permission
      granted_by
      created_at
      updated_at
    )

    # This object does not represent a model on the server side
    # so we do not need to expose these methods.
    protected(*%w(save save!))
    private_class_method(*%w(all find_each first paginate scoped where create! create))
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
recurly-2.20.3 lib/recurly/entitlement.rb
recurly-2.20.2 lib/recurly/entitlement.rb
recurly-2.20.1 lib/recurly/entitlement.rb
recurly-2.20.0 lib/recurly/entitlement.rb
recurly-2.19.13 lib/recurly/entitlement.rb
recurly-2.19.12 lib/recurly/entitlement.rb
recurly-2.19.11 lib/recurly/entitlement.rb
recurly-2.19.10 lib/recurly/entitlement.rb
recurly-2.19.9 lib/recurly/entitlement.rb
recurly-2.19.8 lib/recurly/entitlement.rb
recurly-2.19.7 lib/recurly/entitlement.rb
recurly-2.19.6 lib/recurly/entitlement.rb
recurly-2.19.5 lib/recurly/entitlement.rb
recurly-2.19.4 lib/recurly/entitlement.rb
recurly-2.19.3 lib/recurly/entitlement.rb
recurly-2.19.2 lib/recurly/entitlement.rb
recurly-2.19.1 lib/recurly/entitlement.rb
recurly-2.19.0 lib/recurly/entitlement.rb
recurly-2.18.34 lib/recurly/entitlement.rb
recurly-2.18.33 lib/recurly/entitlement.rb