Class: Ultradns::Api::ClientAccessor
- Inherits:
-
Object
- Object
- Ultradns::Api::ClientAccessor
- Defined in:
- lib/ultradns/api/client_accessor.rb
Instance Method Summary collapse
-
#initialize(client) ⇒ ClientAccessor
constructor
A new instance of ClientAccessor.
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 |