Sha256: 787921960669296faf1ffcbfcf6e32be42a7d9596332250ffd5517e8c147beee
Contents?: true
Size: 400 Bytes
Versions: 5
Compression:
Stored size: 400 Bytes
Contents
module CanTango::Api module Options def ability_options opts = {} options_list.each do |option| opts.merge!(option => send(option)) if respond_to? option, true end opts end def self.options_list [:session, :request, :params, :controller, :domain, :cookies] end def options_list CanTango::Api::Options.options_list end end end
Version data entries
5 entries across 5 versions & 1 rubygems