Class: Runcible::Models::OstreeImporter

Inherits:
Importer
  • Object
show all
Defined in:
lib/runcible/models/ostree_importer.rb

Constant Summary collapse

ID =
'ostree_web_importer'.freeze
REPO_TYPE =
'OSTREE'.freeze

Instance Attribute Summary collapse

Attributes inherited from Importer

#basic_auth_password, #basic_auth_username, #feed, #max_downloads, #max_speed, #proxy_host, #proxy_password, #proxy_port, #proxy_username, #remove_missing, #retain_old_count, #ssl_ca_cert, #ssl_client_cert, #ssl_client_key, #ssl_validation, #validate

Instance Method Summary collapse

Methods inherited from Importer

#initialize

Constructor Details

This class inherits a constructor from Runcible::Models::Importer

Instance Attribute Details

#branchesObject

Returns the value of attribute branches.



7
8
9
# File 'lib/runcible/models/ostree_importer.rb', line 7

def branches
  @branches
end

#depthObject

Returns the value of attribute depth.



7
8
9
# File 'lib/runcible/models/ostree_importer.rb', line 7

def depth
  @depth
end

Instance Method Details

#configObject



17
18
19
# File 'lib/runcible/models/ostree_importer.rb', line 17

def config
  as_json
end

#idObject



9
10
11
# File 'lib/runcible/models/ostree_importer.rb', line 9

def id
  OstreeImporter::ID
end

#repo_typeObject



13
14
15
# File 'lib/runcible/models/ostree_importer.rb', line 13

def repo_type
  OstreeImporter::REPO_TYPE
end