Class: Stripe::TestHelpers::TestClockService::CreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::TestClockService::CreateParams
- Defined in:
- lib/stripe/services/test_helpers/test_clock_service.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) ⇒ CreateParams
constructor
A new instance of CreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, frozen_time: nil, name: nil) ⇒ CreateParams
Returns a new instance of CreateParams.
45 46 47 48 49 |
# File 'lib/stripe/services/test_helpers/test_clock_service.rb', line 45 def initialize(expand: nil, frozen_time: nil, name: nil) @expand = @frozen_time = frozen_time @name = name end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
39 40 41 |
# File 'lib/stripe/services/test_helpers/test_clock_service.rb', line 39 def @expand end |
#frozen_time ⇒ Object
The initial frozen time for this test clock.
41 42 43 |
# File 'lib/stripe/services/test_helpers/test_clock_service.rb', line 41 def frozen_time @frozen_time end |
#name ⇒ Object
The name for this test clock.
43 44 45 |
# File 'lib/stripe/services/test_helpers/test_clock_service.rb', line 43 def name @name end |