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.



28
29
30
31
32
33
# File 'lib/remove_bg/account_info.rb', line 28

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.



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

def enterprise
  @enterprise
end

#paygObject (readonly)

Returns the value of attribute payg.



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

def payg
  @payg
end

#subscriptionObject (readonly)

Returns the value of attribute subscription.



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

def subscription
  @subscription
end

#totalObject (readonly)

Returns the value of attribute total.



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

def total
  @total
end