Class: NeverBounce::API::Response::CreditsInfo::Monthly

Inherits:
Base show all
Defined in:
lib/never_bounce/api/response/credits_info/monthly.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

#monthly_api_usageInteger

Returns:

  • (Integer)


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

oattr :monthly_api_usage, :scalar, type: :integer

Instance Method Details

#subscription_typeSymbol

Always :monthly.

Returns:

  • (Symbol)


12
13
14
# File 'lib/never_bounce/api/response/credits_info/monthly.rb', line 12

def subscription_type
  :monthly
end