Class: Url2PngDc::Cache
- Inherits:
-
Object
- Object
- Url2PngDc::Cache
- Defined in:
- lib/url2png/cache.rb
Overview
TODO Rename this, “Cache” sounds a bit misleading in this context
Instance Method Summary collapse
-
#initialize(url_2json_url) ⇒ Cache
constructor
A new instance of Cache.
- #url ⇒ Object
Constructor Details
#initialize(url_2json_url) ⇒ Cache
Returns a new instance of Cache.
5 6 7 |
# File 'lib/url2png/cache.rb', line 5 def initialize(url_2json_url) @url_2json_url = url_2json_url end |
Instance Method Details
#url ⇒ Object
9 10 11 |
# File 'lib/url2png/cache.rb', line 9 def url parse_out_cache_url_from_payload end |