Class: Arena::Entity::Source
- Inherits:
-
Arena::Entity
- Object
- Base
- Arena::Entity
- Arena::Entity::Source
- Defined in:
- lib/arena/entities/source.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Arena::Base
Instance Attribute Details
#url ⇒ Object (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
#provider ⇒ Object
9 10 11 |
# File 'lib/arena/entities/source.rb', line 9 def provider @provider ||= Arena::Entity::Provider.new(@attrs['provider']) end |