Class: NeverBounce::API::Response::CreditsInfo::Paid

Inherits:
Base show all
Defined in:
lib/never_bounce/api/response/credits_info/paid.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#free_credits_remaining, #free_credits_used

Attributes inherited from NeverBounce::API::Response::Container

#body_hash, #raw

Instance Method Summary collapse

Methods inherited from Base

#monthly?, #paid?

Methods inherited from NeverBounce::API::Response::Container

oattr, scalar_oattr

Instance Attribute Details

Returns:

  • (Integer)


8
# File 'lib/never_bounce/api/response/credits_info/paid.rb', line 8

oattr :paid_credits_remaining, :scalar, type: :integer

Returns:

  • (Integer)


12
# File 'lib/never_bounce/api/response/credits_info/paid.rb', line 12

oattr :paid_credits_used, :scalar, type: :integer

Instance Method Details

#subscription_typeSymbol

Always :paid.

Returns:

  • (Symbol)


16
17
18
# File 'lib/never_bounce/api/response/credits_info/paid.rb', line 16

def subscription_type
  :paid
end