Module: Dnsimple::Compatibility

Included in:
Client
Defined in:
lib/dnsimple/compatibility.rb

Overview

Client backwards compatibility

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/dnsimple/compatibility.rb', line 5

def self.included(base)
  base.extend ClassMethods
  base.class_eval do
    class << self
      attr_accessor :base_uri, :username, :password, :exchange_token, :api_token, :domain_api_token
    end
  end
end