module RRRMatey::StringModel::ConsumerAdapterMethods
Public Instance Methods
from_params(params, id = nil, content_type = nil)
click to toggle source
# File lib/rrrmatey/string_model/consumer_adapter_methods.rb, line 4 def from_params(params, id = nil, content_type = nil) send(:object_from_hash, params, id || params[:id], content_type || :json) end