Module: API
- Defined in:
- lib/puppet/functions/api.rb
Defined Under Namespace
Classes: Account, Accounts, Error, Init
Constant Summary collapse
- POST =
HTTP methods
'POST'
- GET =
'GET'
- PUT =
'PUT'
- DELETE =
'DELETE'
- AUTHTOKEN =
API constants
'authtoken'
- ORG =
'org'
- ERROR =
Log levels
'err'
- INFO =
'info'
- WARN =
'warning'
- DEBUG =
'debug'
Class Attribute Summary collapse
-
.authtoken ⇒ Object
Returns the value of attribute authtoken.
-
.certificate ⇒ Object
Returns the value of attribute certificate.
-
.org ⇒ Object
Returns the value of attribute org.
-
.server_url ⇒ Object
Returns the value of attribute server_url.
Class Attribute Details
.authtoken ⇒ Object
Returns the value of attribute authtoken.
29 30 31 |
# File 'lib/puppet/functions/api.rb', line 29 def authtoken @authtoken end |
.certificate ⇒ Object
Returns the value of attribute certificate.
29 30 31 |
# File 'lib/puppet/functions/api.rb', line 29 def certificate @certificate end |
.org ⇒ Object
Returns the value of attribute org.
29 30 31 |
# File 'lib/puppet/functions/api.rb', line 29 def org @org end |
.server_url ⇒ Object
Returns the value of attribute server_url.
29 30 31 |
# File 'lib/puppet/functions/api.rb', line 29 def server_url @server_url end |