Class: Mailtrap::BillingUsage

Inherits:
Struct
  • Object
show all
Defined in:
lib/mailtrap/billing_usage.rb

Overview

Data Transfer Object for Billing Usage data

Instance Attribute Summary collapse

Instance Attribute Details

#billingHash (readonly)

The billing cycle details

Returns:

  • (Hash)

    the current value of billing



10
11
12
# File 'lib/mailtrap/billing_usage.rb', line 10

def billing
  @billing
end

#sendingHash (readonly)

Sending subscription usage

Returns:

  • (Hash)

    the current value of sending



10
11
12
# File 'lib/mailtrap/billing_usage.rb', line 10

def sending
  @sending
end

#testingHash (readonly)

Testing subscription usage

Returns:

  • (Hash)

    the current value of testing



10
11
12
# File 'lib/mailtrap/billing_usage.rb', line 10

def testing
  @testing
end