Class: Stripe::TestHelpers::TestClockCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::TestClockCreateParams
- Defined in:
- lib/stripe/params/test_helpers/test_clock_create_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#frozen_time ⇒ Object
The initial frozen time for this test clock.
-
#name ⇒ Object
The name for this test clock.
Instance Method Summary collapse
-
#initialize(expand: nil, frozen_time: nil, name: nil) ⇒ TestClockCreateParams
constructor
A new instance of TestClockCreateParams.
Methods inherited from RequestParams
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) = @frozen_time = frozen_time @name = name end |
Instance Attribute Details
#expand ⇒ Object
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 end |
#frozen_time ⇒ Object
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 |
#name ⇒ Object
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 |