Class: Rivendell::API::Cut

Inherits:
Object
  • Object
show all
Defined in:
lib/rivendell/api/cut.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Cut



8
9
10
# File 'lib/rivendell/api/cut.rb', line 8

def initialize(attributes = {})
  attributes.each { |k,v| send "#{k}=", v }
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *arguments) ⇒ Object



19
20
21
22
23
24
25
26
# File 'lib/rivendell/api/cut.rb', line 19

def method_missing(name, *arguments)
  underscored_name = name.to_s.underscore
  if respond_to?(underscored_name)
    send underscored_name, *arguments
  else
    super
  end
end

Instance Attribute Details

#bit_rateObject

Returns the value of attribute bit_rate.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def bit_rate
  @bit_rate
end

#cart_numberObject

Returns the value of attribute cart_number.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def cart_number
  @cart_number
end

#channelsObject

Returns the value of attribute channels.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def channels
  @channels
end

#coding_formatObject

Returns the value of attribute coding_format.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def coding_format
  @coding_format
end

#descriptionObject

Returns the value of attribute description.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def description
  @description
end

#end_datetimeObject

Returns the value of attribute end_datetime.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def end_datetime
  @end_datetime
end

#end_daypartObject

Returns the value of attribute end_daypart.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def end_daypart
  @end_daypart
end

#end_pointObject

Returns the value of attribute end_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def end_point
  @end_point
end

#evergreenObject

Returns the value of attribute evergreen.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def evergreen
  @evergreen
end

#fadedown_pointObject

Returns the value of attribute fadedown_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def fadedown_point
  @fadedown_point
end

#fadeup_pointObject

Returns the value of attribute fadeup_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def fadeup_point
  @fadeup_point
end

#friObject

Returns the value of attribute fri.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def fri
  @fri
end

#hook_end_pointObject

Returns the value of attribute hook_end_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def hook_end_point
  @hook_end_point
end

#hook_start_pointObject

Returns the value of attribute hook_start_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def hook_start_point
  @hook_start_point
end

#isciObject

Returns the value of attribute isci.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def isci
  @isci
end

#isrcObject

Returns the value of attribute isrc.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def isrc
  @isrc
end

#last_play_datetimeObject

Returns the value of attribute last_play_datetime.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def last_play_datetime
  @last_play_datetime
end

#lengthObject

Returns the value of attribute length.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def length
  @length
end

#local_counterObject

Returns the value of attribute local_counter.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def local_counter
  @local_counter
end

#monObject

Returns the value of attribute mon.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def mon
  @mon
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def name
  @name
end

#numberObject

Returns the value of attribute number.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def number
  @number
end

#origin_datetimeObject

Returns the value of attribute origin_datetime.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def origin_datetime
  @origin_datetime
end

#origin_nameObject

Returns the value of attribute origin_name.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def origin_name
  @origin_name
end

#outcueObject

Returns the value of attribute outcue.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def outcue
  @outcue
end

#play_counterObject

Returns the value of attribute play_counter.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def play_counter
  @play_counter
end

#play_gainObject

Returns the value of attribute play_gain.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def play_gain
  @play_gain
end

#sample_rateObject

Returns the value of attribute sample_rate.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def sample_rate
  @sample_rate
end

#satObject

Returns the value of attribute sat.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def sat
  @sat
end

#segue_end_pointObject

Returns the value of attribute segue_end_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def segue_end_point
  @segue_end_point
end

#segue_gainObject

Returns the value of attribute segue_gain.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def segue_gain
  @segue_gain
end

#segue_start_pointObject

Returns the value of attribute segue_start_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def segue_start_point
  @segue_start_point
end

#start_datetimeObject

Returns the value of attribute start_datetime.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def start_datetime
  @start_datetime
end

#start_daypartObject

Returns the value of attribute start_daypart.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def start_daypart
  @start_daypart
end

#start_pointObject

Returns the value of attribute start_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def start_point
  @start_point
end

#sunObject

Returns the value of attribute sun.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def sun
  @sun
end

#talk_end_pointObject

Returns the value of attribute talk_end_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def talk_end_point
  @talk_end_point
end

#talk_start_pointObject

Returns the value of attribute talk_start_point.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def talk_start_point
  @talk_start_point
end

#thuObject

Returns the value of attribute thu.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def thu
  @thu
end

#tueObject

Returns the value of attribute tue.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def tue
  @tue
end

#validityObject

Returns the value of attribute validity.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def validity
  @validity
end

#wedObject

Returns the value of attribute wed.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def wed
  @wed
end

#weightObject

Returns the value of attribute weight.



6
7
8
# File 'lib/rivendell/api/cut.rb', line 6

def weight
  @weight
end