Class: Telegram::Bot::Types::BusinessOpeningHours
- Defined in:
- sig/telegram/bot/types/business_opening_hours.rbs
Instance Attribute Summary collapse
-
#opening_hours ⇒ Array[BusinessOpeningHoursInterval]
readonly
Returns the value of attribute opening_hours.
-
#time_zone_name ⇒ String
readonly
Returns the value of attribute time_zone_name.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#opening_hours ⇒ Array[BusinessOpeningHoursInterval] (readonly)
Returns the value of attribute opening_hours.
9 10 11 |
# File 'sig/telegram/bot/types/business_opening_hours.rbs', line 9 def opening_hours @opening_hours end |
#time_zone_name ⇒ String (readonly)
Returns the value of attribute time_zone_name.
8 9 10 |
# File 'sig/telegram/bot/types/business_opening_hours.rbs', line 8 def time_zone_name @time_zone_name end |
Class Method Details
.new(time_zone_name:, opening_hours:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/business_opening_hours.rbs', line 6
def self.new: (time_zone_name: String, opening_hours: Array[BusinessOpeningHoursInterval]) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|