Module: Imgur

Defined in:
lib/imgur.rb,
lib/imgur/version.rb

Defined Under Namespace

Modules: Collection, PagedCollection Classes: Client, Logger, Model, Response

Constant Summary collapse

DEFAULT_TIMEOUT =
60
RequestFailure =
Class.new(Exception)
VERSION =
"0.04"

Class Method Summary collapse

Class Method Details

.paging_parameters(params) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/imgur.rb', line 20

def self.paging_parameters(params)
  if url = params["url"]
    Addressable::URI.parse(url).query_values
  else
    params
  end
end