Sha256: 4ba6a43611b8b19c9db708496e57963d194817cba94b095b2c0f0ce6882cb01d

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

require 'nifcloud/uri/version'
require 'nifcloud/uri/signature'
require 'nifcloud/uri/configuration'
require 'nifcloud/uri/generator'

module Nifcloud
  module Uri
    extend Configuration

    def self.generator(options={})
      Nifcloud::Uri::Generator.new(options)
    end

    def self.method_missing(method, *args, &block)
      return super unless generator.respond_to?(method)
      generator.send(method, *args, &block)
    end

    def respond_to_missing?(method_name, include_private = false)
      generator.respond_to?(method_name) || super
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nifcloud-uri-0.1.0 lib/nifcloud/uri.rb