Class: Sportradar::Api::Broadcast
- Defined in:
- lib/sportradar/api/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.
6 7 8 9 |
# File 'lib/sportradar/api/broadcast.rb', line 6 def initialize(data) @response = data @network = data["network"] end |
Instance Attribute Details
#network ⇒ Object
Returns the value of attribute network.
4 5 6 |
# File 'lib/sportradar/api/broadcast.rb', line 4 def network @network end |
#response ⇒ Object
Returns the value of attribute response.
4 5 6 |
# File 'lib/sportradar/api/broadcast.rb', line 4 def response @response end |