summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer/podspec_json.rb
blob: d3f6ae269da315e836c6a944a8018131957c9420 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module BlobViewer
  class PodspecJson < Podspec
    self.file_types = %i(podspec_json)

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