Sha256: 9d505c65ad7eb90a3377ff2127f6804bf2931fbe23713220a5fab35dea293116

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

require 'makeprintable/version'
require 'rubygems'
require 'rest-client'
require 'json'
require 'crack'

require File.expand_path('../misc/hash.rb', __FILE__)
require File.expand_path('../makeprintable/client.rb', __FILE__)

module MakePrintable
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end


  class Configuration
    attr_accessor :api_key
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
makeprintable-1.0.2 lib/makeprintable.rb
makeprintable-1.0.1 lib/makeprintable.rb
makeprintable-1.0.0 lib/makeprintable.rb