Class: TD::Types::BusinessOpeningHoursInterval

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/business_opening_hours_interval.rb

Overview

Describes an interval of time when the business is open.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#end_minuteInteger

The minute’s sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 1-8*24*60.

Returns:

  • (Integer)

    the current value of end_minute



8
9
10
# File 'lib/tdlib/types/business_opening_hours_interval.rb', line 8

def end_minute
  @end_minute
end

#start_minuteInteger

The minute’s sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0-7*24*60.

Returns:

  • (Integer)

    the current value of start_minute



8
9
10
# File 'lib/tdlib/types/business_opening_hours_interval.rb', line 8

def start_minute
  @start_minute
end