Class: Stripe::TestHelpers::TestClock::CreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::TestClock::CreateParams
- Defined in:
- lib/stripe/resources/test_helpers/test_clock.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.
57 58 59 60 61 |
# File 'lib/stripe/resources/test_helpers/test_clock.rb', line 57 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.
51 52 53 |
# File 'lib/stripe/resources/test_helpers/test_clock.rb', line 51 def @expand end |
#frozen_time ⇒ Object
The initial frozen time for this test clock.
53 54 55 |
# File 'lib/stripe/resources/test_helpers/test_clock.rb', line 53 def frozen_time @frozen_time end |
#name ⇒ Object
The name for this test clock.
55 56 57 |
# File 'lib/stripe/resources/test_helpers/test_clock.rb', line 55 def name @name end |