Sha256: 92efd1ffa5303363015e70b301b4e89d1ca65cc8ee6d517f8fe1d155e189d997

Contents?: true

Size: 644 Bytes

Versions: 6

Compression:

Stored size: 644 Bytes

Contents

module Asaas
  class Notification < Model
    transform_keys(&:to_sym)
    
    attribute :id, Types::Coercible::String
    attribute :customer, Types::Coercible::String
    attribute :event, Types::Coercible::String
    attribute :scheduleOffset, Types::Integer.optional.default(nil)
    attribute :emailEnabledForProvider, Types::Bool.optional.default(false)
    attribute :smsEnabledForProvider, Types::Bool.optional.default(false)
    attribute :emailEnabledForCustomer, Types::Bool.optional.default(true)
    attribute :smsEnabledForCustomer, Types::Bool.optional.default(false)
    attribute :enabled, Types::Bool.default(false)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
asaas-ruby-0.2.30 lib/asaas/models/notification.rb
asaas-ruby-0.2.29 lib/asaas/models/notification.rb
asaas-ruby-0.2.28 lib/asaas/models/notification.rb
asaas-ruby-0.2.27 lib/asaas/models/notification.rb
asaas-ruby-0.2.26 lib/asaas/models/notification.rb
asaas-ruby-0.2.25 lib/asaas/models/notification.rb