Class: Peddler::APIs::Replenishment20221107::TimeInterval
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Replenishment20221107::TimeInterval
- Defined in:
- sig/peddler/apis/replenishment_2022_11_07.rbs
Instance Attribute Summary collapse
-
#end_date ⇒ Time
readonly
Returns the value of attribute end_date.
-
#start_date ⇒ Time
readonly
Returns the value of attribute start_date.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :end_date, :start_date ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Replenishment20221107::TimeInterval
Instance Method Summary collapse
Instance Attribute Details
#end_date ⇒ Time (readonly)
Returns the value of attribute end_date.
556 557 558 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 556 def end_date @end_date end |
#start_date ⇒ Time (readonly)
Returns the value of attribute start_date.
557 558 559 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 557 def start_date @start_date end |
Class Method Details
.[](end_date:, start_date:) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval .[](arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval
549 550 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 549
def self.[]: (end_date: Time, start_date: Time) -> Peddler::APIs::Replenishment20221107::TimeInterval
| (Time, Time) -> Peddler::APIs::Replenishment20221107::TimeInterval
|
.members ⇒ [ :end_date, :start_date ]
552 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 552
def self.members: () -> [ :end_date, :start_date ]
|
.new(end_date:, start_date:) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval .new(arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval
547 548 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 547
def self.new: (end_date: Time, start_date: Time) -> Peddler::APIs::Replenishment20221107::TimeInterval
| (Time, Time) -> Peddler::APIs::Replenishment20221107::TimeInterval
|
.parse ⇒ Peddler::APIs::Replenishment20221107::TimeInterval
554 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 554
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::TimeInterval
|
Instance Method Details
#members ⇒ [ :end_date, :start_date ]
559 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 559
def members: () -> [ :end_date, :start_date ]
|
#to_h ⇒ { end_date: Time, start_date: Time }
560 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 560
def to_h: () -> { end_date: Time, start_date: Time }
|