Sha256: f672cfa5c49618949a390881a6b6b45975dc277c322aab1a1ae951b4cdb2ef2d
Contents?: true
Size: 432 Bytes
Versions: 34
Compression:
Stored size: 432 Bytes
Contents
class ExvoAuth::Autonomous::Base attr_reader :params @@cache = ExvoAuth::Autonomous::Cache.new def initialize(params = {}) @params = params end protected def validate_params!(*keys) missing = keys - params.keys raise(ArgumentError, "Please configure following keys: #{missing.join(", ")}") if missing.any? end # Makes testing easy def auth ExvoAuth::Autonomous::Auth.instance end end
Version data entries
34 entries across 34 versions & 2 rubygems