module Paymill::Restful::Find
Public Instance Methods
find( model )
click to toggle source
# File lib/paymill/restful/methods.rb, line 31 def find( model ) model = model.id if model.is_a? self response = Paymill.request( Http.get( Restful.demodulize_and_tableize( name ), model ) ) new( response['data'] ) end