Sha256: 7d68071c9614c01a1870265479cff1566291324e4b7385b58253eb3e6c1ce1b2

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

require "libpixel/version"
require "libpixel/client"

module LibPixel

  @@default_client = Client.new

  def self.setup
    yield @@default_client
  end

  def self.sign(uri)
    @@default_client.sign(uri)
  end

  def self.url(path, options={})
    @@default_client.url(path, options)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
libpixel-1.1.0 lib/libpixel.rb
libpixel-1.0.1 lib/libpixel.rb
libpixel-1.0.0 lib/libpixel.rb