Class: LgPodPlugin::ProjectModel
- Inherits:
-
Object
- Object
- LgPodPlugin::ProjectModel
- Defined in:
- lib/lg_pod_plugin/db/database.rb
Instance Method Summary collapse
-
#initialize(id = nil, name = nil, description = nil, path = nil, ssh_url_to_repo = nil, http_url_to_repo = nil, web_url = nil, name_with_namespace = nil, path_with_namespace = nil) ⇒ ProjectModel
constructor
A new instance of ProjectModel.
Constructor Details
#initialize(id = nil, name = nil, description = nil, path = nil, ssh_url_to_repo = nil, http_url_to_repo = nil, web_url = nil, name_with_namespace = nil, path_with_namespace = nil) ⇒ ProjectModel
Returns a new instance of ProjectModel.
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/lg_pod_plugin/db/database.rb', line 14 def initialize(id = nil, name = nil, description = nil, path = nil, ssh_url_to_repo = nil, http_url_to_repo = nil, web_url = nil, name_with_namespace = nil, path_with_namespace = nil) self.id = id self.path = path self.name = name self.web_url = web_url self.description = description self.ssh_url_to_repo = ssh_url_to_repo self.http_url_to_repo = http_url_to_repo self.path_with_namespace = path_with_namespace self.name_with_namespace = name_with_namespace end |