Method: Imgur::API#initialize

Defined in:
lib/imgur.rb

#initialize(api_key) ⇒ API

Creates a new Imgur API instance



26
27
28
# File 'lib/imgur.rb', line 26

def initialize api_key
  @api_key = api_key
end