Class: Sportradar::Api::Basketball::Broadcast
- Defined in:
- lib/sportradar/api/basketball/broadcast.rb
Instance Attribute Summary collapse
-
#network ⇒ Object
Returns the value of attribute network.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(data) ⇒ Broadcast
constructor
A new instance of Broadcast.
Methods inherited from Data
#all_attributes, #attributes, #create_data, #parse_into_array, #parse_into_array_with_options, #parse_out_hashes, #structure_links, #update_data
Constructor Details
#initialize(data) ⇒ Broadcast
Returns a new instance of Broadcast.
7 8 9 10 |
# File 'lib/sportradar/api/basketball/broadcast.rb', line 7 def initialize(data) @response = data @network = data["network"] end |
Instance Attribute Details
#network ⇒ Object
Returns the value of attribute network.
5 6 7 |
# File 'lib/sportradar/api/basketball/broadcast.rb', line 5 def network @network end |
#response ⇒ Object
Returns the value of attribute response.
5 6 7 |
# File 'lib/sportradar/api/basketball/broadcast.rb', line 5 def response @response end |