Class: Jumbotron::Public::Venue
- Inherits:
-
Data
- Object
- Data
- Jumbotron::Public::Venue
- Defined in:
- app/models/jumbotron/public.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#region ⇒ Object
readonly
Returns the value of attribute region.
Instance Method Summary collapse
-
#initialize(id:, name:, city: nil, region: nil) ⇒ Venue
constructor
A new instance of Venue.
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
#city ⇒ Object (readonly)
Returns the value of attribute city
27 28 29 |
# File 'app/models/jumbotron/public.rb', line 27 def city @city end |
#id ⇒ Object (readonly)
Returns the value of attribute id
27 28 29 |
# File 'app/models/jumbotron/public.rb', line 27 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
27 28 29 |
# File 'app/models/jumbotron/public.rb', line 27 def name @name end |
#region ⇒ Object (readonly)
Returns the value of attribute region
27 28 29 |
# File 'app/models/jumbotron/public.rb', line 27 def region @region end |