Class: Stripe::ForwardingService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ ForwardingService

Returns a new instance of ForwardingService.



8
9
10
11
# File 'lib/stripe/services/forwarding_service.rb', line 8

def initialize(requestor)
  super(requestor)
  @requests = Stripe::Forwarding::RequestService.new(@requestor)
end

Instance Attribute Details

#requestsObject (readonly)

Returns the value of attribute requests.



6
7
8
# File 'lib/stripe/services/forwarding_service.rb', line 6

def requests
  @requests
end