Module: Unveil
- Defined in:
- lib/unveil.rb,
lib/unveil/app.rb,
lib/unveil/user.rb,
lib/unveil/group.rb,
lib/unveil/feature.rb,
lib/unveil/helpers.rb,
lib/unveil/version.rb
Defined Under Namespace
Modules: Controller
Classes: App, Feature, Group, User
Constant Summary
collapse
- VERSION =
"0.0.4"
- @@public_key =
nil
- @@private_key =
nil
- @@scan_for_features =
false
- @@scan_dirs =
[]
Class Method Summary
collapse
Class Method Details
11
12
13
|
# File 'lib/unveil.rb', line 11
def configure
yield self
end
|
.delete(path, body) ⇒ Object
47
48
49
|
# File 'lib/unveil.rb', line 47
def delete(path, body)
build_request :delete, path, body
end
|
.get(path) ⇒ Object
39
40
41
|
# File 'lib/unveil.rb', line 39
def get(path)
build_request :get, path
end
|
.post(path, body) ⇒ Object
43
44
45
|
# File 'lib/unveil.rb', line 43
def post(path, body)
build_request :post, path, body
end
|
.private_key=(private_key) ⇒ Object
19
20
21
|
# File 'lib/unveil.rb', line 19
def private_key=(private_key)
@@private_key = private_key
end
|
.public_key=(public_key) ⇒ Object
15
16
17
|
# File 'lib/unveil.rb', line 15
def public_key=(public_key)
@@public_key = public_key
end
|
.scan_dirs ⇒ Object
35
36
37
|
# File 'lib/unveil.rb', line 35
def scan_dirs
@@scan_dirs
end
|
.scan_dirs=(dirs) ⇒ Object
31
32
33
|
# File 'lib/unveil.rb', line 31
def scan_dirs=(dirs)
@@scan_dirs = dirs
end
|
.scan_for_features=(bool) ⇒ Object
23
24
25
|
# File 'lib/unveil.rb', line 23
def scan_for_features=(bool)
@@scan_for_features = bool
end
|
.scan_for_features? ⇒ Boolean
27
28
29
|
# File 'lib/unveil.rb', line 27
def scan_for_features?
@@scan_for_features
end
|