class Tourmaline::BusinessOpeningHours

Overview

Describes the opening hours of a business.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(time_zone_name : String, opening_hours : Array(Tourmaline::BusinessOpeningHoursInterval) = [] of Tourmaline::BusinessOpeningHoursInterval) #

[View source]

Instance Method Detail

def opening_hours : Array(Tourmaline::BusinessOpeningHoursInterval) #

List of time intervals describing business opening hours


[View source]
def opening_hours=(opening_hours : Array(Tourmaline::BusinessOpeningHoursInterval)) #

List of time intervals describing business opening hours


[View source]
def time_zone_name : String #

Unique name of the time zone for which the opening hours are defined


[View source]
def time_zone_name=(time_zone_name : String) #

Unique name of the time zone for which the opening hours are defined


[View source]