vendor/plugins/filtered_column_flickr_macro/lib/flickr.rb
# Takes a Flickr API method name and set of parameters; returns an XmlSimple object with the response
Takes a Flickr API method name and set of parameters; returns an XmlSimple object with the response
Takes a Flickr API method name and set of parameters ; returns an XmlSimple object with the response
def request(method, *params)
    response = XmlSimple.xml_in(http_get(request_url(method, params)), { 'ForceArray' => false })
    raise response['err']['msg'] if response['stat'] != 'ok'
    response
  end
def request ( method , * params ) response = XmlSimple . xml_in ( http_get ( request_url ( method , params ) ) , { 'ForceArray' => false } ) raise response [ 'err' ] [ 'msg' ] if response [ 'stat' ] != 'ok' response end
Takes a Flickr API method name and set of parameters; returns an XmlSimple object with the response
Takes a Flickr API method name and set of parameters ; returns an XmlSimple object with the response
method
<not_specific>
params
<not_specific>