module Trestle::Resource::AdapterMethods

Public Instance Methods

adapter() click to toggle source

Adapter instance bound to the current resource's context.

# File lib/trestle/resource/adapter_methods.rb, line 7
def adapter
  @adapter ||= adapter_class.new(self, @context)
end