lib/jekyll-flickr/flickr_tag.rb
# selection of sizes from those offered by Flickr API
selection of sizes from those offered by Flickr API
selection of sizes from those offered by Flickr API
def flickr
        @@flickr ||= begin
          @@flickr = ::Flickr.new(ENV['FLICKR_API_KEY'] || config['api_key'], ENV['FLICKR_SHARED_SECRET'] || ENV['FLICKR_API_SECRET'] || config['api_secret'])
        end
      end
def flickr @@flickr ||= begin @@flickr = :: Flickr . new ( ENV [ 'FLICKR_API_KEY' ] || config [ 'api_key' ] , ENV [ 'FLICKR_SHARED_SECRET' ] || ENV [ 'FLICKR_API_SECRET' ] || config [ 'api_secret' ] ) end end
selection of sizes from those offered by Flickr API
selection of sizes from those offered by Flickr API
# by default, Flickr uses ENV FLICKR_API_KEY and FLICKR_SHARED_SECRET, support here legacy name FLICKR_API_SECRET, too