module Assembly::Actions::Read::ClassMethods
Public Instance Methods
fetch(id, params={}, client=Assembly.client)
click to toggle source
# File lib/assembly/actions/read.rb, line 5 def fetch(id, params={}, client=Assembly.client) raise ArgumentError.new("an id must be provided to fetch a record") if id.nil? || id.to_s.empty? response = client.get("#{path}/#{id}", params) Util.build(response, client) end
Also aliased as: find