Sha256: dc938ee05ba5f9c5df5058c006d04843041a0c31c5fa7295a0662fc2d9254655

Contents?: true

Size: 373 Bytes

Versions: 5

Compression:

Stored size: 373 Bytes

Contents

require 'initial_avatar/version'
require 'initial_avatar/avatar'
require 'initial_avatar/configuration'

module InitialAvatar
  class << self
    def configure
      yield(configuration)
    end

    def configuration
      @configuration ||= Configuration.new
    end

    def avatar_data_uri(name, options = {})
      Avatar.new(name, options).data_uri
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
initial_avatar-0.2.2 lib/initial_avatar.rb
initial_avatar-0.2.1 lib/initial_avatar.rb
initial_avatar-0.2.0 lib/initial_avatar.rb
initial_avatar-0.1.1 lib/initial_avatar.rb
initial_avatar-0.1.0 lib/initial_avatar.rb