Sha256: e3b95a2f23b4bee6584d3e2ef2738f73737c6708a6399c3c1bea7211e8e79043

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

require 'epom'
require 'epom_rails/acts_as'

module EpomRails
	attr_accessor :epom_klass, :epom_fields

	Epom::EpomElement.login(ENV['username'], ENV['password'])

	def method_missing(method_name, *args)
		if epom_klass.respond_to?(method_name)
			epom_klass.send(method_name, args[0], args[1])
		else
			super
		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
epom_rails-0.4.5 lib/epom_rails.rb
epom_rails-0.4.2 lib/epom_rails.rb
epom_rails-0.4.1 lib/epom_rails.rb
epom_rails-0.3 lib/epom_rails.rb