Class: Arena::Entity::Source

Inherits:
Arena::Entity show all
Defined in:
lib/arena/entities/source.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

attr_reader, #initialize

Constructor Details

This class inherits a constructor from Arena::Base

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



7
8
9
# File 'lib/arena/entities/source.rb', line 7

def url
  @url
end

Instance Method Details

#providerObject



9
10
11
# File 'lib/arena/entities/source.rb', line 9

def provider
  @provider ||= Arena::Entity::Provider.new(@attrs['provider'])
end