class RemoveBg::AccountInfo

Attributes

api[R]

@return [RemoveBg::AccountInfo::ApiInfo]

credits[R]

@return [RemoveBg::AccountInfo::CreditsInfo]

Public Class Methods

new(attributes) click to toggle source
# File lib/remove_bg/account_info.rb, line 9
def initialize(attributes)
  @api = ApiInfo.new(**attributes.fetch(:api))
  @credits = CreditsInfo.new(**attributes.fetch(:credits))
end