Class: Kijkwijzer::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/kijkwijzer/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#production_typeObject

Returns the value of attribute production_type.



4
5
6
# File 'lib/kijkwijzer/result.rb', line 4

def production_type
  @production_type
end

#ratingsString

Get the ratings for the result

Returns:

  • (String)

    with kijkwijzer-ratings (English-language-labels)



11
12
13
# File 'lib/kijkwijzer/result.rb', line 11

def ratings
  @ratings
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/kijkwijzer/result.rb', line 3

def title
  @title
end

#yearObject

Returns the value of attribute year.



5
6
7
# File 'lib/kijkwijzer/result.rb', line 5

def year
  @year
end

Instance Method Details

#to_sObject



22
23
24
# File 'lib/kijkwijzer/result.rb', line 22

def to_s
  "#<Kijkwijzer::Result @title=\"#{title}\", @year=#{year}>"
end