Module: Conekta::Operations::Update

Included in:
Card, Customer, Payee, PayoutMethod, Plan, Subscription, Webhook
Defined in:
lib/conekta/operations/update.rb

Instance Method Summary collapse

Instance Method Details

#update(params) ⇒ Object



4
5
6
7
8
# File 'lib/conekta/operations/update.rb', line 4

def update(params)
  response = Requestor.new.request(:put, self.url, params)
  self.load_from(response)
  self
end