Class: RemoveBg::AccountInfo::CreditsInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/remove_bg/account_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total:, subscription:, payg:, enterprise:) ⇒ CreditsInfo

Returns a new instance of CreditsInfo.



26
27
28
29
30
31
# File 'lib/remove_bg/account_info.rb', line 26

def initialize(total:, subscription:, payg:, enterprise:)
  @total = total
  @subscription = subscription
  @payg = payg
  @enterprise = enterprise
end

Instance Attribute Details

#enterpriseObject (readonly)

Returns the value of attribute enterprise.



24
25
26
# File 'lib/remove_bg/account_info.rb', line 24

def enterprise
  @enterprise
end

#paygObject (readonly)

Returns the value of attribute payg.



24
25
26
# File 'lib/remove_bg/account_info.rb', line 24

def payg
  @payg
end

#subscriptionObject (readonly)

Returns the value of attribute subscription.



24
25
26
# File 'lib/remove_bg/account_info.rb', line 24

def subscription
  @subscription
end

#totalObject (readonly)

Returns the value of attribute total.



24
25
26
# File 'lib/remove_bg/account_info.rb', line 24

def total
  @total
end