module Optionable
Public Instance Methods
fetch_actions(options)
click to toggle source
# File lib/active_endpoint/concerns/optionable.rb, line 7 def fetch_actions(options) return nil unless options options[:actions] end
fetch_endpoint(options)
click to toggle source
# File lib/active_endpoint/concerns/optionable.rb, line 2 def fetch_endpoint(options) return nil unless options options[:endpoint] end
fetch_limit(options)
click to toggle source
# File lib/active_endpoint/concerns/optionable.rb, line 22 def fetch_limit(options) return nil unless options options[:limit] end
fetch_period(options)
click to toggle source
# File lib/active_endpoint/concerns/optionable.rb, line 27 def fetch_period(options) return nil unless options options[:period] end
fetch_resources(options)
click to toggle source
# File lib/active_endpoint/concerns/optionable.rb, line 12 def fetch_resources(options) return nil unless options options[:resources] end
fetch_rule(options)
click to toggle source
# File lib/active_endpoint/concerns/optionable.rb, line 37 def fetch_rule(options) return nil unless options options[:rule] end
fetch_scope(options)
click to toggle source
# File lib/active_endpoint/concerns/optionable.rb, line 17 def fetch_scope(options) return nil unless options options[:scope] end
fetch_storage(options)
click to toggle source
# File lib/active_endpoint/concerns/optionable.rb, line 32 def fetch_storage(options) return nil unless options options[:storage] end