class Ocpclient::Client
OCP Client
Constants
- ENTITY_TYPES
Dynamically creating classes definitions (class Project, class BuildConfig, etc.), The classes are extending RecursiveOpenStruct. This cancels the need to define the classes manually on every new entity addition, and especially since currently the class body is empty
Public Class Methods
new( uri, version = 'v1', **options )
click to toggle source
# File lib/ocpclient.rb, line 27 def initialize( uri, version = 'v1', **options ) initialize_client( uri, '/oapi', version, options ) end
Public Instance Methods
all_entities()
click to toggle source
# File lib/ocpclient.rb, line 40 def all_entities retrieve_all_entities(ENTITY_TYPES) end