Class: Box::Release::Loader
- Inherits:
-
Object
- Object
- Box::Release::Loader
- Defined in:
- lib/box/release/loader.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(url) ⇒ Loader
constructor
A new instance of Loader.
- #release ⇒ Object
Constructor Details
#initialize(url) ⇒ Loader
Returns a new instance of Loader.
10 11 12 |
# File 'lib/box/release/loader.rb', line 10 def initialize(url) @url = url end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
8 9 10 |
# File 'lib/box/release/loader.rb', line 8 def url @url end |
Class Method Details
.release_at(url) ⇒ Object
14 15 16 |
# File 'lib/box/release/loader.rb', line 14 def self.release_at(url) new(url).release if url end |