Class: RepoTender::State::Store::State
- Inherits:
-
Data
- Object
- Data
- RepoTender::State::Store::State
- Defined in:
- lib/repo_tender/state/store.rb
Overview
State value object — top-level container.
Instance Attribute Summary collapse
-
#orgs ⇒ Object
readonly
Returns the value of attribute orgs.
-
#repos ⇒ Object
readonly
Returns the value of attribute repos.
Instance Method Summary collapse
-
#initialize(repos: {}, orgs: {}) ⇒ State
constructor
A new instance of State.
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
#orgs ⇒ Object (readonly)
Returns the value of attribute orgs
125 126 127 |
# File 'lib/repo_tender/state/store.rb', line 125 def orgs @orgs end |
#repos ⇒ Object (readonly)
Returns the value of attribute repos
125 126 127 |
# File 'lib/repo_tender/state/store.rb', line 125 def repos @repos end |