module Api::DefaultOptions
Module to include in Default
modules of your API toolkit
Public Instance Methods
options()
click to toggle source
Configuration options @return [Hash]
# File lib/api/default_options.rb, line 8 def options Hash[Api::Configurable.keys.select { |key| respond_to?(key) } .map { |key| [key, send(key)] }] end