Sha256: a9f5e605324fde5b1147f0c7f0f87ad1646c0ab4c9266ff098442a2b38643c08

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

require 'savon'

module Northern911Api
	class Customer
		attr_reader :configuration

		extend Savon::Model
		#client wsdl: "https://soapdev.northern911.com/soap/Service.svc?xsd=xsd2"
		#client wsdl: "https://soapdev.northern911.com/soap/Service.svc?wsdl"

	    def initialize(*operations)
	      @configuration = Northern911Api.configuration
	      self.class.client wsdl: configuration.wsdl
    	  operations.each { |operation| self.class.operations operation }
	    end
	  	
	  	operations :CITY, :CITY
	  	operations :ENHANCED_CAPABLE, :ENHANCED_CAPABLE
	  	operations :FIRST_NAME, :FIRST_NAME
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	  	# operations :authenticate, :find_user
	end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
northern911-client-0.1.2 lib/Northern911Api/model/customer.rb
Northern911ApiClient-0.1.1 lib/Northern911Api/model/customer.rb
northern911-client-0.1.1 lib/Northern911Api/model/customer.rb