Class: ApiSports::Timezone

Inherits:
Object
  • Object
show all
Defined in:
lib/api_sports/objects/timezone.rb

Instance Method Summary collapse

Methods inherited from Object

#to_ostruct

Constructor Details

#initialize(name) ⇒ Timezone

Returns a new instance of Timezone.



5
6
7
# File 'lib/api_sports/objects/timezone.rb', line 5

def initialize(name)
  super({ name: name })
end