Class: CircleCI::CLI::Response::Project
- Inherits:
-
Object
- Object
- CircleCI::CLI::Response::Project
- Defined in:
- lib/circleci/cli/response/project.rb
Class Method Summary collapse
Instance Method Summary collapse
- #information ⇒ Object
-
#initialize(hash) ⇒ Project
constructor
A new instance of Project.
Constructor Details
#initialize(hash) ⇒ Project
Returns a new instance of Project.
7 8 9 |
# File 'lib/circleci/cli/response/project.rb', line 7 def initialize(hash) @hash = hash end |
Class Method Details
Instance Method Details
#information ⇒ Object
11 12 13 |
# File 'lib/circleci/cli/response/project.rb', line 11 def information [@hash['username'], @hash['reponame']] end |