Sha256: 4daaaf859b4b91343f896b35ead1e956902478db52e02fff7c3208f184437df1
Contents?: true
Size: 427 Bytes
Versions: 6
Compression:
Stored size: 427 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.new end end
Version data entries
6 entries across 6 versions & 1 rubygems