Class: NullEvent

Inherits:
ErrorObject show all
Defined in:
lib/get_freaky/null_event.rb

Instance Method Summary collapse

Methods inherited from ErrorObject

#initialize, #to_s

Constructor Details

This class inherits a constructor from ErrorObject

Instance Method Details

#conference_idObject



4
# File 'lib/get_freaky/null_event.rb', line 4

def conference_id; nil; end

#conference_nameObject



3
# File 'lib/get_freaky/null_event.rb', line 3

def conference_name; nil; end

#dateObject



6
# File 'lib/get_freaky/null_event.rb', line 6

def date; nil; end

#nameObject



13
14
15
# File 'lib/get_freaky/null_event.rb', line 13

def name
  to_s
end

#short_codeObject



2
# File 'lib/get_freaky/null_event.rb', line 2

def short_code; nil ; end

#valid?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/get_freaky/null_event.rb', line 17

def valid?
  false
end

#video_countObject



5
# File 'lib/get_freaky/null_event.rb', line 5

def video_count; nil; end

#video_listObject

Could use Avdi Grimm’s Naught gem to simplify the above



9
10
11
# File 'lib/get_freaky/null_event.rb', line 9

def video_list
  to_s
end