Class: Ultradns::Api::ClientAccessor

Inherits:
Object
  • Object
show all
Defined in:
lib/ultradns/api/client_accessor.rb

Direct Known Subclasses

Account, Rrset, Zone

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ ClientAccessor

Returns a new instance of ClientAccessor.



4
5
6
7
8
9
# File 'lib/ultradns/api/client_accessor.rb', line 4

def initialize(client)
  @client = client
  if client.kind_of?(Ultradns::Api::ClientAccessor)
    @client = client.client
  end
end