Class: Rivendell::API::Cut
- Inherits:
-
Object
- Object
- Rivendell::API::Cut
- Defined in:
- lib/rivendell/api/cut.rb
Instance Attribute Summary collapse
-
#bit_rate ⇒ Object
Returns the value of attribute bit_rate.
-
#cart_number ⇒ Object
Returns the value of attribute cart_number.
-
#channels ⇒ Object
Returns the value of attribute channels.
-
#coding_format ⇒ Object
Returns the value of attribute coding_format.
-
#description ⇒ Object
Returns the value of attribute description.
-
#end_datetime ⇒ Object
Returns the value of attribute end_datetime.
-
#end_daypart ⇒ Object
Returns the value of attribute end_daypart.
-
#end_point ⇒ Object
Returns the value of attribute end_point.
-
#evergreen ⇒ Object
Returns the value of attribute evergreen.
-
#fadedown_point ⇒ Object
Returns the value of attribute fadedown_point.
-
#fadeup_point ⇒ Object
Returns the value of attribute fadeup_point.
-
#fri ⇒ Object
Returns the value of attribute fri.
-
#hook_end_point ⇒ Object
Returns the value of attribute hook_end_point.
-
#hook_start_point ⇒ Object
Returns the value of attribute hook_start_point.
-
#isci ⇒ Object
Returns the value of attribute isci.
-
#isrc ⇒ Object
Returns the value of attribute isrc.
-
#last_play_datetime ⇒ Object
Returns the value of attribute last_play_datetime.
-
#length ⇒ Object
Returns the value of attribute length.
-
#local_counter ⇒ Object
Returns the value of attribute local_counter.
-
#mon ⇒ Object
Returns the value of attribute mon.
-
#name ⇒ Object
Returns the value of attribute name.
-
#number ⇒ Object
Returns the value of attribute number.
-
#origin_datetime ⇒ Object
Returns the value of attribute origin_datetime.
-
#origin_name ⇒ Object
Returns the value of attribute origin_name.
-
#outcue ⇒ Object
Returns the value of attribute outcue.
-
#play_counter ⇒ Object
Returns the value of attribute play_counter.
-
#play_gain ⇒ Object
Returns the value of attribute play_gain.
-
#sample_rate ⇒ Object
Returns the value of attribute sample_rate.
-
#sat ⇒ Object
Returns the value of attribute sat.
-
#segue_end_point ⇒ Object
Returns the value of attribute segue_end_point.
-
#segue_gain ⇒ Object
Returns the value of attribute segue_gain.
-
#segue_start_point ⇒ Object
Returns the value of attribute segue_start_point.
-
#start_datetime ⇒ Object
Returns the value of attribute start_datetime.
-
#start_daypart ⇒ Object
Returns the value of attribute start_daypart.
-
#start_point ⇒ Object
Returns the value of attribute start_point.
-
#sun ⇒ Object
Returns the value of attribute sun.
-
#talk_end_point ⇒ Object
Returns the value of attribute talk_end_point.
-
#talk_start_point ⇒ Object
Returns the value of attribute talk_start_point.
-
#thu ⇒ Object
Returns the value of attribute thu.
-
#tue ⇒ Object
Returns the value of attribute tue.
-
#validity ⇒ Object
Returns the value of attribute validity.
-
#wed ⇒ Object
Returns the value of attribute wed.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Cut
constructor
A new instance of Cut.
- #method_missing(name, *arguments) ⇒ Object
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_rate ⇒ Object
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_number ⇒ Object
Returns the value of attribute cart_number.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def cart_number @cart_number end |
#channels ⇒ Object
Returns the value of attribute channels.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def channels @channels end |
#coding_format ⇒ Object
Returns the value of attribute coding_format.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def coding_format @coding_format end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def description @description end |
#end_datetime ⇒ Object
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_daypart ⇒ Object
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_point ⇒ Object
Returns the value of attribute end_point.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def end_point @end_point end |
#evergreen ⇒ Object
Returns the value of attribute evergreen.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def evergreen @evergreen end |
#fadedown_point ⇒ Object
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_point ⇒ Object
Returns the value of attribute fadeup_point.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def fadeup_point @fadeup_point end |
#fri ⇒ Object
Returns the value of attribute fri.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def fri @fri end |
#hook_end_point ⇒ Object
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_point ⇒ Object
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 |
#isci ⇒ Object
Returns the value of attribute isci.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def isci @isci end |
#isrc ⇒ Object
Returns the value of attribute isrc.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def isrc @isrc end |
#last_play_datetime ⇒ Object
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 |
#length ⇒ Object
Returns the value of attribute length.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def length @length end |
#local_counter ⇒ Object
Returns the value of attribute local_counter.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def local_counter @local_counter end |
#mon ⇒ Object
Returns the value of attribute mon.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def mon @mon end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def number @number end |
#origin_datetime ⇒ Object
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_name ⇒ Object
Returns the value of attribute origin_name.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def origin_name @origin_name end |
#outcue ⇒ Object
Returns the value of attribute outcue.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def outcue @outcue end |
#play_counter ⇒ Object
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_gain ⇒ Object
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_rate ⇒ Object
Returns the value of attribute sample_rate.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def sample_rate @sample_rate end |
#sat ⇒ Object
Returns the value of attribute sat.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def sat @sat end |
#segue_end_point ⇒ Object
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_gain ⇒ Object
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_point ⇒ Object
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_datetime ⇒ Object
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_daypart ⇒ Object
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_point ⇒ Object
Returns the value of attribute start_point.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def start_point @start_point end |
#sun ⇒ Object
Returns the value of attribute sun.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def sun @sun end |
#talk_end_point ⇒ Object
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_point ⇒ Object
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 |
#thu ⇒ Object
Returns the value of attribute thu.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def thu @thu end |
#tue ⇒ Object
Returns the value of attribute tue.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def tue @tue end |
#validity ⇒ Object
Returns the value of attribute validity.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def validity @validity end |
#wed ⇒ Object
Returns the value of attribute wed.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def wed @wed end |
#weight ⇒ Object
Returns the value of attribute weight.
6 7 8 |
# File 'lib/rivendell/api/cut.rb', line 6 def weight @weight end |