Sha256: 5f3f5ccfa8150d6a8b8996585e043c15cbe4a79884eb0ba4a47a5c6a5ebd9e7b
Contents?: true
Size: 547 Bytes
Versions: 2
Compression:
Stored size: 547 Bytes
Contents
require 'genability/configuration' require 'genability/connection' require 'genability/request' #require File.expand_path('../oauth', __FILE__) module Genability # @private class API include Connection include Request #include OAuth # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new API def initialize(options={}) options = Genability.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
genability-0.2.0 | lib/genability/api.rb |
genability-0.1.0 | lib/genability/api.rb |