Sha256: 6645025e8b08883b929f32729df1b5ffb17897e46dd9083706bcd865aa965e14

Contents?: true

Size: 1.17 KB

Versions: 15

Compression:

Stored size: 1.17 KB

Contents

module BillForward
  class InvoicePayment < MutableEntity
  	class << self
  		def create(entity = nil)
	  		raise DenyMethod.new 'Create support is denied for this entity; '+
		 	'at the time of writing, no API endpoint exists to support it. '+
		 	'The entity can be created through cascade only (i.e. instantiated within another entity).'
	  	end

	  	def get_by_id(id, query_params = {}, customClient = nil)
	  		raise DenyMethod.new 'Get by ID support is denied for this entity; '+
			 'at the time of writing, no API endpoint exists to support it.'+
			 'The entity can be GETted through cascade only (i.e. GET a related entity).'
	  	end

	  	def get_all(query_params = {}, customClient = nil)
	  		raise DenyMethod.new 'Get All support is denied for this entity; '+
			 'at the time of writing, no API endpoint exists to support it.'+
			 'The entity can be GETted through cascade only (i.e. GET a related entity).'
	  	end
	end

  	def save()
  		raise DenyMethod.new 'Save support is denied for this entity; '+
		 'at the time of writing, the provided API endpoint is not functioning.'+
		 'The entity can be saved through cascade only (i.e. save a related entity).'
  	end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bill_forward-2.2016.241 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-2.2016.227 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-2.2016.222 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-2.2016.209 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2016.117 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2016.101 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2016.26 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2015.321.1 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2015.321 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2015.299 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2015.217.1 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2015.217 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2015.186 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2015.183 lib/bill_forward/entities/invoice_parts/invoice_payment.rb
bill_forward-1.2014.296 lib/bill_forward/entities/invoice_parts/invoice_payment.rb