Module: Occi::Api::Dsl::MainMethods

Included in:
Occi::Api::Dsl
Defined in:
lib/occi/api/dsl/main_methods.rb

Instance Method Summary collapse

Instance Method Details

#create(*args) ⇒ Object


20
21
22
23
# File 'lib/occi/api/dsl/main_methods.rb', line 20

def create(*args)
  check
  @client.create(*args)
end

#delete(*args) ⇒ Object


25
26
27
28
# File 'lib/occi/api/dsl/main_methods.rb', line 25

def delete(*args)
  check
  @client.delete(*args)
end

#describe(*args) ⇒ Object


15
16
17
18
# File 'lib/occi/api/dsl/main_methods.rb', line 15

def describe(*args)
  check
  @client.describe(*args)
end

#list(*args) ⇒ Object


10
11
12
13
# File 'lib/occi/api/dsl/main_methods.rb', line 10

def list(*args)
  check
  @client.list(*args)
end

#modelObject


40
41
42
43
# File 'lib/occi/api/dsl/main_methods.rb', line 40

def model
  check
  @client.model
end

#refreshObject


35
36
37
38
# File 'lib/occi/api/dsl/main_methods.rb', line 35

def refresh
  check
  @client.refresh
end

#resource(*args) ⇒ Object


5
6
7
8
# File 'lib/occi/api/dsl/main_methods.rb', line 5

def resource(*args)
  check
  @client.get_resource(*args)
end

#trigger(*args) ⇒ Object


30
31
32
33
# File 'lib/occi/api/dsl/main_methods.rb', line 30

def trigger(*args)
  check
  @client.trigger(*args)
end