Sha256: 0fc9f3f5a2cffcc89e652e9a37912a04f58a6a38d662ba0b78f8f7d7f2a781a3

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

module Recurly
  class ExternalSubscription < Resource

    define_attribute_methods %w(
      quantity
      activated_at
      expires_at
      created_at
      updated_at
      last_purchased
      auto_renew
      app_identifier
    )

    # 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

2 entries across 2 versions & 1 rubygems

Version Path
recurly-2.18.29 lib/recurly/external_subscription.rb
recurly-2.18.28 lib/recurly/external_subscription.rb