Sha256: e26d26143e0273507c766eeb8838a179c5230bc68a54e05c96cf33f0da2cc947

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

module Shift
	module Builder
		class UrlHandler
			attr_accessor :url, :method, :handler

			def initialize(url, method)
				@url = url
				@method = method
				@handler = []
			end

			def add_statement(statement)
				handler.push statement
			end
		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shift-lang-0.1.4 lib/shift-lang/builder/url_handler.rb
shift-lang-0.1.3 lib/shift-lang/builder/url_handler.rb
shift-lang-0.1.2 lib/shift-lang/builder/url_handler.rb
shift-lang-0.1.1 lib/shift-lang/builder/url_handler.rb