Class: Kounta::Payment

Inherits:
Resource
  • Object
show all
Defined in:
lib/kounta/payment.rb

Instance Method Summary collapse

Methods inherited from Resource

#client, coerce, has_many, has_one, #ignored_properties, #initialize, #new?, #save!, #to_hash

Constructor Details

This class inherits a constructor from Kounta::Resource

Instance Method Details

#resource_pathObject



11
12
13
# File 'lib/kounta/payment.rb', line 11

def resource_path
	{companies: company_id, orders: order_id, payments: id}
end