Method: YACCL::Model::Repository#initialize
- Defined in:
- lib/yaccl/model/repository.rb
#initialize(raw) ⇒ Repository
Returns a new instance of Repository.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/yaccl/model/repository.rb', line 34 def initialize(raw) @id = raw[:repositoryId] @name = raw[:repositoryName] @description = raw[:repositoryDescription] @root_folder_id = raw[:rootFolderId] @capabilities = raw[:capabilities] @url = raw[:repositoryUrl] @latest_change_log_token = raw[:latestChangeLogToken] @vendor_name = raw[:vendorName] @cmis_version_supported = raw[:cmisVersionSupported] @acl_capabilities = raw[:aclCapabilities] @product_name = raw[:productName] @product_version = raw[:productVersion] @thin_client_uri = raw[:thinClientUri] @changes_on_type = raw[:changesOnType] @root_folder_url = raw[:rootFolderUrl] end |