Class: Gerd::Inspections::Actions::ChangeRepoPrivacy
- Inherits:
-
Object
- Object
- Gerd::Inspections::Actions::ChangeRepoPrivacy
- Defined in:
- lib/gerd/inspections/actions/change_repo_privacy.rb
Instance Method Summary collapse
-
#initialize(repo_to_change, privacy_state) ⇒ ChangeRepoPrivacy
constructor
A new instance of ChangeRepoPrivacy.
Constructor Details
#initialize(repo_to_change, privacy_state) ⇒ ChangeRepoPrivacy
Returns a new instance of ChangeRepoPrivacy.
7 8 9 10 |
# File 'lib/gerd/inspections/actions/change_repo_privacy.rb', line 7 def initialize(repo_to_change, privacy_state) @repo = repo_to_change @privacy_state = privacy_state end |