Class: Rlanyrd::Conference
- Inherits:
-
Object
- Object
- Rlanyrd::Conference
- Defined in:
- lib/rlanyrd/conference.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#date ⇒ Object
Returns the value of attribute date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Conference
constructor
A new instance of Conference.
Constructor Details
#initialize(params = {}) ⇒ Conference
Returns a new instance of Conference.
7 8 9 10 11 12 13 14 |
# File 'lib/rlanyrd/conference.rb', line 7 def initialize(params = {}) @name = params[:name] @url = params[:url] @city = params[:city] @country = params[:country] @date = params[:date] @tags = params[:tags] end |
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
5 6 7 |
# File 'lib/rlanyrd/conference.rb', line 5 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
5 6 7 |
# File 'lib/rlanyrd/conference.rb', line 5 def country @country end |
#date ⇒ Object
Returns the value of attribute date.
5 6 7 |
# File 'lib/rlanyrd/conference.rb', line 5 def date @date end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/rlanyrd/conference.rb', line 5 def name @name end |
#tags ⇒ Object
Returns the value of attribute tags.
5 6 7 |
# File 'lib/rlanyrd/conference.rb', line 5 def @tags end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/rlanyrd/conference.rb', line 5 def url @url end |