Class: Yobi::Initialized

Inherits:
FancyHash show all
Defined in:
lib/yobi/repository/init.rb,
sig/yobi.rbs

Overview

The "initialized" message from an Repository#init run.

Instance Method Summary collapse

Methods inherited from FancyHash

#initialize, #inspect, #pretty_print

Constructor Details

This class inherits a constructor from Yobi::FancyHash

Instance Method Details

#idString

Returns ID of the created repository.

Returns:

  • (String)

    ID of the created repository



62
63
64
# File 'lib/yobi/repository/init.rb', line 62

def id
  self["id"]
end

#repositoryString

Returns URL of the repository.

Returns:

  • (String)

    URL of the repository



67
68
69
# File 'lib/yobi/repository/init.rb', line 67

def repository
  self["repository"]
end