lib/cmd/domains.rb in docli-0.0.2.pre.alpha.pre.12 vs lib/cmd/domains.rb in docli-0.0.2.pre.alpha.pre.15
- old
+ new
@@ -1,13 +1,12 @@
# Domain actions
#
module Cmd
class Domains
- @client = Docli.client
def self.list_all_domains domain
- return @client.domains.create(domain)
+ return Docli.client.domains.create(domain)
end
end
end
\ No newline at end of file