Module: Paysio::Actions::Find::ClassMethods

Defined in:
lib/paysio/actions/find.rb

Instance Method Summary collapse

Instance Method Details

#find(id) ⇒ Object Also known as: retrieve



5
6
7
8
# File 'lib/paysio/actions/find.rb', line 5

def find(id)
  response = Paysio::Client.request(:get, "#{path}/#{id}")
  Resource.build_from(response)
end