Sha256: 56bebdbae78d8c9455192d6c934358f1d0ba873c3688657a973232455ec95bf1
Contents?: true
Size: 546 Bytes
Versions: 19
Compression:
Stored size: 546 Bytes
Contents
require File.expand_path('../connection', __FILE__) require File.expand_path('../request', __FILE__) require File.expand_path('../oauth', __FILE__) module Instagram # @private class API # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new API def initialize(options={}) options = Instagram.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end include Connection include Request include OAuth end end
Version data entries
19 entries across 19 versions & 5 rubygems