Class: Delphix::Repository

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/delphix/repository.rb

Instance Attribute Summary

Attributes included from Base

#details

Instance Method Summary collapse

Methods included from Base

#base_endpoint, #delphix_delete, #delphix_get, #delphix_post, #name, #reference, #to_s, #type

Constructor Details

#initialize(reference, details = nil) ⇒ Repository

Returns a new instance of Repository.



5
6
7
# File 'lib/delphix/repository.rb', line 5

def initialize(reference, details=nil)
  super(reference, details)
end

Instance Method Details

#refresh_detailsObject



9
10
11
# File 'lib/delphix/repository.rb', line 9

def refresh_details
  @details = delphix_get("/resources/json/delphix/repository/#{reference}", nil)['result']
end