Class: Stripe::TestHelpers::IssuingService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/test_helpers/issuing_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ IssuingService

Returns a new instance of IssuingService.



9
10
11
12
13
14
15
16
# File 'lib/stripe/services/test_helpers/issuing_service.rb', line 9

def initialize(requestor)
  super(requestor)
  @authorizations = Stripe::TestHelpers::Issuing::AuthorizationService.new(@requestor)
  @cards = Stripe::TestHelpers::Issuing::CardService.new(@requestor)
  @personalization_designs = Stripe::TestHelpers::Issuing::PersonalizationDesignService
                             .new(@requestor)
  @transactions = Stripe::TestHelpers::Issuing::TransactionService.new(@requestor)
end

Instance Attribute Details

#authorizationsObject (readonly)

Returns the value of attribute authorizations.



7
8
9
# File 'lib/stripe/services/test_helpers/issuing_service.rb', line 7

def authorizations
  @authorizations
end

#cardsObject (readonly)

Returns the value of attribute cards.



7
8
9
# File 'lib/stripe/services/test_helpers/issuing_service.rb', line 7

def cards
  @cards
end

#personalization_designsObject (readonly)

Returns the value of attribute personalization_designs.



7
8
9
# File 'lib/stripe/services/test_helpers/issuing_service.rb', line 7

def personalization_designs
  @personalization_designs
end

#transactionsObject (readonly)

Returns the value of attribute transactions.



7
8
9
# File 'lib/stripe/services/test_helpers/issuing_service.rb', line 7

def transactions
  @transactions
end