Class: Rlanyrd::Conference

Inherits:
Object
  • Object
show all
Defined in:
lib/rlanyrd/conference.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cityObject

Returns the value of attribute city.



5
6
7
# File 'lib/rlanyrd/conference.rb', line 5

def city
  @city
end

#countryObject

Returns the value of attribute country.



5
6
7
# File 'lib/rlanyrd/conference.rb', line 5

def country
  @country
end

#dateObject

Returns the value of attribute date.



5
6
7
# File 'lib/rlanyrd/conference.rb', line 5

def date
  @date
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/rlanyrd/conference.rb', line 5

def name
  @name
end

#tagsObject

Returns the value of attribute tags.



5
6
7
# File 'lib/rlanyrd/conference.rb', line 5

def tags
  @tags
end

#urlObject

Returns the value of attribute url.



5
6
7
# File 'lib/rlanyrd/conference.rb', line 5

def url
  @url
end