Class: LgPodPlugin::ProjectModel
- Inherits:
-
Object
- Object
- LgPodPlugin::ProjectModel
- Defined in:
- lib/lg_pod_plugin/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.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/lg_pod_plugin/database.rb', line 11 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 |