Class: Mixcloud::Section
- Inherits:
-
Object
- Object
- Mixcloud::Section
- Defined in:
- lib/mixcloud/section.rb
Instance Attribute Summary collapse
-
#position ⇒ Object
Returns the value of attribute position.
-
#section_type ⇒ Object
Returns the value of attribute section_type.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#track_url ⇒ Object
Returns the value of attribute track_url.
Instance Method Summary collapse
-
#initialize(track_url, position, start_time, section_type) ⇒ Section
constructor
A new instance of Section.
Constructor Details
#initialize(track_url, position, start_time, section_type) ⇒ Section
Returns a new instance of Section.
5 6 7 8 9 10 |
# File 'lib/mixcloud/section.rb', line 5 def initialize(track_url, position, start_time, section_type) @track_url = track_url @position = position @start_time = start_time @section_type = section_type end |
Instance Attribute Details
#position ⇒ Object
Returns the value of attribute position.
3 4 5 |
# File 'lib/mixcloud/section.rb', line 3 def position @position end |
#section_type ⇒ Object
Returns the value of attribute section_type.
3 4 5 |
# File 'lib/mixcloud/section.rb', line 3 def section_type @section_type end |
#start_time ⇒ Object
Returns the value of attribute start_time.
3 4 5 |
# File 'lib/mixcloud/section.rb', line 3 def start_time @start_time end |
#track_url ⇒ Object
Returns the value of attribute track_url.
3 4 5 |
# File 'lib/mixcloud/section.rb', line 3 def track_url @track_url end |