Class: DatagroutConduit::DeliverablesNamespace

Inherits:
Object
  • Object
show all
Defined in:
lib/datagrout_conduit/namespaces/deliverables.rb

Instance Method Summary collapse

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