class Pixmatch::API

@private

Public Class Methods

new(options = {}) click to toggle source

Creates a new API

# File lib/pixmatch/api.rb, line 12
def initialize(options = {})
  options = Pixmatch.options.merge(options)
  Configuration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end