Class: Stripe::TestHelpers::TestClockCreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/test_clock_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, frozen_time: nil, name: nil) ⇒ TestClockCreateParams

Returns a new instance of TestClockCreateParams.



14
15
16
17
18
# File 'lib/stripe/params/test_helpers/test_clock_create_params.rb', line 14

def initialize(expand: nil, frozen_time: nil, name: nil)
  @expand = expand
  @frozen_time = frozen_time
  @name = name
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



8
9
10
# File 'lib/stripe/params/test_helpers/test_clock_create_params.rb', line 8

def expand
  @expand
end

#frozen_timeObject

The initial frozen time for this test clock.



10
11
12
# File 'lib/stripe/params/test_helpers/test_clock_create_params.rb', line 10

def frozen_time
  @frozen_time
end

#nameObject

The name for this test clock.



12
13
14
# File 'lib/stripe/params/test_helpers/test_clock_create_params.rb', line 12

def name
  @name
end