Sha256: eee54056609e6f7fb2bbe433a81b7718ceaa9144bddd29e41351b804245347a5

Contents?: true

Size: 897 Bytes

Versions: 11

Compression:

Stored size: 897 Bytes

Contents

module BillForward
  class GenericEntity < MutableEntity
  	class << self
  		def create(entity = nil)
	  		raise DenyMethod.new 'Create support is denied for this entity; '+
		 	'it is just a payload wrapper, and is thus not a real entity in BillForward.'
	  	end

	  	def get_by_id(id, query_params = {}, customClient = nil)
	  		raise DenyMethod.new 'Get by ID support is denied for this entity; '+
			 'it is just a payload wrapper, and is thus not a real entity in BillForward.'
	  	end

	  	def get_all(query_params = {}, customClient = nil)
	  		raise DenyMethod.new 'Get All support is denied for this entity; '+
			 'it is just a payload wrapper, and is thus not a real entity in BillForward.'
	  	end
	end

  	def save()
  		raise DenyMethod.new 'Save support is denied for this entity; '+
		 'it is just a payload wrapper, and is thus not a real entity in BillForward.'
  	end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bill_forward-2.2016.241 lib/bill_forward/entities/generic_entity.rb
bill_forward-2.2016.227 lib/bill_forward/entities/generic_entity.rb
bill_forward-2.2016.222 lib/bill_forward/entities/generic_entity.rb
bill_forward-2.2016.209 lib/bill_forward/entities/generic_entity.rb
bill_forward-1.2016.117 lib/bill_forward/entities/generic_entity.rb
bill_forward-1.2016.101 lib/bill_forward/entities/generic_entity.rb
bill_forward-1.2016.26 lib/bill_forward/entities/generic_entity.rb
bill_forward-1.2015.321.1 lib/bill_forward/entities/generic_entity.rb
bill_forward-1.2015.321 lib/bill_forward/entities/generic_entity.rb
bill_forward-1.2015.299 lib/bill_forward/entities/generic_entity.rb
bill_forward-1.2015.217.1 lib/bill_forward/entities/generic_entity.rb