Class: Delphix::Repository
- Inherits:
-
Object
- Object
- Delphix::Repository
- Includes:
- Base
- Defined in:
- lib/delphix/repository.rb
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
-
#initialize(reference, details = nil) ⇒ Repository
constructor
A new instance of Repository.
- #refresh_details ⇒ Object
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_details ⇒ Object
9 10 11 |
# File 'lib/delphix/repository.rb', line 9 def refresh_details @details = delphix_get("/resources/json/delphix/repository/#{reference}", nil)['result'] end |