class Veeqo::Customer
Public Instance Methods
create(email:, **attributes)
click to toggle source
# File lib/veeqo/customer.rb, line 5 def create(email:, **attributes) required_attributes = { email: email } create_resource(customer: required_attributes.merge(attributes)) end
update(customer_id, email:, **attributes)
click to toggle source
# File lib/veeqo/customer.rb, line 10 def update(customer_id, email:, **attributes) required_attributes = { email: email } update_resource( customer_id, customer: required_attributes.merge(attributes) ) end
Private Instance Methods
end_point()
click to toggle source
# File lib/veeqo/customer.rb, line 20 def end_point "customers" end