Class: RepoTender::State::Store::State

Inherits:
Data
  • Object
show all
Defined in:
lib/repo_tender/state/store.rb

Overview

State value object — top-level container.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repos: {}, orgs: {}) ⇒ State

Returns a new instance of State.



126
127
128
# File 'lib/repo_tender/state/store.rb', line 126

def initialize(repos: {}, orgs: {})
  super
end

Instance Attribute Details

#orgsObject (readonly)

Returns the value of attribute orgs

Returns:

  • (Object)

    the current value of orgs



125
126
127
# File 'lib/repo_tender/state/store.rb', line 125

def orgs
  @orgs
end

#reposObject (readonly)

Returns the value of attribute repos

Returns:

  • (Object)

    the current value of repos



125
126
127
# File 'lib/repo_tender/state/store.rb', line 125

def repos
  @repos
end