Class: DatagroutConduit::DeliverablesNamespace
- Inherits:
-
Object
- Object
- DatagroutConduit::DeliverablesNamespace
- Defined in:
- lib/datagrout_conduit/namespaces/deliverables.rb
Instance Method Summary collapse
- #get(ref_id) ⇒ Object
-
#initialize(client) ⇒ DeliverablesNamespace
constructor
A new instance of DeliverablesNamespace.
- #list(params = {}) ⇒ Object
- #register(params = {}) ⇒ Object
Constructor Details
#initialize(client) ⇒ DeliverablesNamespace
Returns a new instance of DeliverablesNamespace.
5 6 7 |
# File 'lib/datagrout_conduit/namespaces/deliverables.rb', line 5 def initialize(client) @client = client end |
Instance Method Details
#get(ref_id) ⇒ Object
17 18 19 |
# File 'lib/datagrout_conduit/namespaces/deliverables.rb', line 17 def get(ref_id) dg_call("deliverables.get", { "ref" => ref_id }) end |
#list(params = {}) ⇒ Object
13 14 15 |
# File 'lib/datagrout_conduit/namespaces/deliverables.rb', line 13 def list(params = {}) dg_call("deliverables.list", params) end |
#register(params = {}) ⇒ Object
9 10 11 |
# File 'lib/datagrout_conduit/namespaces/deliverables.rb', line 9 def register(params = {}) dg_call("deliverables.register", params) end |