Class: Getv::Package::GitHub::Release

Inherits:
Getv::Package::GitHub show all
Defined in:
lib/getv/package/github/release.rb

Overview

Getv::Package::GitHub::Release class

Instance Attribute Summary

Attributes inherited from Getv::Package

#name, #opts

Instance Method Summary collapse

Methods inherited from Getv::Package

create, #defaults, #latest_version, #update_versions, #versions

Constructor Details

#initialize(name, opts = {}) ⇒ Release

Returns a new instance of Release.



8
9
10
11
12
# File 'lib/getv/package/github/release.rb', line 8

def initialize(name, opts = {})
  opts = defaults.merge(opts)
  opts = github_defaults(name).merge(opts)
  super name, opts
end