Class: BlobViewer::PodspecJson

Inherits:
Podspec show all
Defined in:
app/models/blob_viewer/podspec_json.rb

Constant Summary

Constants inherited from Base

Base::PARTIAL_PATH_PREFIX

Instance Attribute Summary

Attributes inherited from Base

#blob

Instance Method Summary collapse

Methods inherited from Podspec

#manager_name, #manager_url, #package_type, #package_url

Methods included from ServerSide

#prepare!, #render_error

Methods inherited from DependencyManager

#manager_name, #manager_url, #package_type, #package_url

Methods included from Auxiliary

#visible_to?

Methods included from Gitlab::Allowable

#can?

Methods inherited from Base

auxiliary?, binary?, #binary_detected_after_load?, can_render?, #collapsed?, #initialize, load_async?, loading_partial_path, partial_path, #prepare!, #render_error, rich?, simple?, text?, #too_large?

Constructor Details

This class inherits a constructor from BlobViewer::Base

Instance Method Details

#package_nameObject


7
8
9
# File 'app/models/blob_viewer/podspec_json.rb', line 7

def package_name
  @package_name ||= package_name_from_json('name')
end