Sha256: 7ff57bdb1c4e9359d0a07c7f1ccc9a3d4a3b165a15699109a66b9493224d44e4

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

class DummyClass
  include Auth0::Mixins::Headers

  attr_reader :domain, :client_id, :client_secret, :audience

  def initialize
    @domain = 'test.auth0.com'
    @client_id = '__test_client_id__'
    @client_secret = '__test_client_secret__'
    @audience = "https://#{@domain}/api/v2/"
  end

  %i(get post put patch delete).each do |method|
    define_method(method) do |_path, _body = {}|
      true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth0-4.7.0 spec/support/dummy_class.rb
auth0-4.6.0 spec/support/dummy_class.rb