Method: FAFuse::Picture#initialize
- Defined in:
- lib/fafuse/picture.rb
#initialize(path) ⇒ Picture
Returns a new instance of Picture.
12 13 14 15 16 |
# File 'lib/fafuse/picture.rb', line 12 def initialize(path) @id = Picture.match?(path)[1] @path = path @resource = RestClient::Resource.new("http://www.furaffinity.net/full/") end |