Class: MeetingFinder::Meeting
- Inherits:
-
Object
- Object
- MeetingFinder::Meeting
- Defined in:
- lib/meeting_finder/meeting.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#day ⇒ Object
readonly
Returns the value of attribute day.
-
#lat ⇒ Object
readonly
Returns the value of attribute lat.
-
#lng ⇒ Object
readonly
Returns the value of attribute lng.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#time ⇒ Object
readonly
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Meeting
constructor
A new instance of Meeting.
Constructor Details
#initialize(attributes = {}) ⇒ Meeting
Returns a new instance of Meeting.
4 5 6 7 8 9 10 11 12 |
# File 'lib/meeting_finder/meeting.rb', line 4 def initialize(attributes={}) @name = attributes['name'] @location = attributes['location'] @address = attributes['address'] @day = attributes['day'] @time = attributes['time'] @lat = attributes['lat'] @lng = attributes['lng'] end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
3 4 5 |
# File 'lib/meeting_finder/meeting.rb', line 3 def address @address end |
#day ⇒ Object (readonly)
Returns the value of attribute day.
3 4 5 |
# File 'lib/meeting_finder/meeting.rb', line 3 def day @day end |
#lat ⇒ Object (readonly)
Returns the value of attribute lat.
3 4 5 |
# File 'lib/meeting_finder/meeting.rb', line 3 def lat @lat end |
#lng ⇒ Object (readonly)
Returns the value of attribute lng.
3 4 5 |
# File 'lib/meeting_finder/meeting.rb', line 3 def lng @lng end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
3 4 5 |
# File 'lib/meeting_finder/meeting.rb', line 3 def location @location end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/meeting_finder/meeting.rb', line 3 def name @name end |
#time ⇒ Object (readonly)
Returns the value of attribute time.
3 4 5 |
# File 'lib/meeting_finder/meeting.rb', line 3 def time @time end |