Sha256: 143445800c6fb5fa87ace86f436058110e6f6717d5555ef3101589b2515eeef4

Contents?: true

Size: 540 Bytes

Versions: 21

Compression:

Stored size: 540 Bytes

Contents

module Asaas
  class Webhook < Model
    attribute :id, Types::Coercible::String.optional.default(nil)
    attribute :url, Types::Coercible::String.optional.default { Asaas::Configuration.webhook_url }
    attribute :email, Types::Coercible::String.optional.default { Asaas::Configuration.webhook_email }
    attribute :apiVersion, Types::Coercible::Integer.optional.default {Asaas::Configuration.api_version }
    attribute :enabled, Types::Bool.optional.default(nil)
    attribute :interrupted, Types::Bool.optional.default(nil)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
asaas-ruby-0.2.30 lib/asaas/models/webhook.rb
asaas-ruby-0.2.29 lib/asaas/models/webhook.rb
asaas-ruby-0.2.28 lib/asaas/models/webhook.rb
asaas-ruby-0.2.27 lib/asaas/models/webhook.rb
asaas-ruby-0.2.26 lib/asaas/models/webhook.rb
asaas-ruby-0.2.25 lib/asaas/models/webhook.rb
asaas-ruby-0.2.18 lib/asaas/models/webhook.rb
asaas-ruby-0.2.17 lib/asaas/models/webhook.rb
asaas-ruby-0.2.12 lib/asaas/models/webhook.rb
asaas-ruby-0.2.11 lib/asaas/models/webhook.rb
asaas-ruby-0.2.10 lib/asaas/models/webhook.rb
asaas-ruby-0.2.9 lib/asaas/models/webhook.rb
asaas-ruby-0.2.8 lib/asaas/models/webhook.rb
asaas-ruby-0.2.7 lib/asaas/models/webhook.rb
asaas-ruby-0.2.6 lib/asaas/models/webhook.rb
asaas-ruby-0.2.5 lib/asaas/models/webhook.rb
asaas-ruby-0.2.4 lib/asaas/models/webhook.rb
asaas-ruby-0.2.3 lib/asaas/models/webhook.rb
asaas-ruby-0.2.2 lib/asaas/models/webhook.rb
asaas-ruby-0.2.1 lib/asaas/models/webhook.rb