Class: Jumbotron::Public::Venue

Inherits:
Data
  • Object
show all
Defined in:
app/models/jumbotron/public.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, name:, city: nil, region: nil) ⇒ Venue

Returns a new instance of Venue.



28
29
30
# File 'app/models/jumbotron/public.rb', line 28

def initialize(id:, name:, city: nil, region: nil)
  super
end

Instance Attribute Details

#cityObject (readonly)

Returns the value of attribute city

Returns:

  • (Object)

    the current value of city



27
28
29
# File 'app/models/jumbotron/public.rb', line 27

def city
  @city
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



27
28
29
# File 'app/models/jumbotron/public.rb', line 27

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



27
28
29
# File 'app/models/jumbotron/public.rb', line 27

def name
  @name
end

#regionObject (readonly)

Returns the value of attribute region

Returns:

  • (Object)

    the current value of region



27
28
29
# File 'app/models/jumbotron/public.rb', line 27

def region
  @region
end