Class: Stripe::RadarService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ RadarService

Returns a new instance of RadarService.



8
9
10
11
12
13
# File 'lib/stripe/services/radar_service.rb', line 8

def initialize(requestor)
  super(requestor)
  @early_fraud_warnings = Stripe::Radar::EarlyFraudWarningService.new(@requestor)
  @value_lists = Stripe::Radar::ValueListService.new(@requestor)
  @value_list_items = Stripe::Radar::ValueListItemService.new(@requestor)
end

Instance Attribute Details

#early_fraud_warningsObject (readonly)

Returns the value of attribute early_fraud_warnings.



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

def early_fraud_warnings
  @early_fraud_warnings
end

#value_list_itemsObject (readonly)

Returns the value of attribute value_list_items.



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

def value_list_items
  @value_list_items
end

#value_listsObject (readonly)

Returns the value of attribute value_lists.



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

def value_lists
  @value_lists
end