Class: GemContribute::HostAdapter::ForkResult
- Inherits:
-
Data
- Object
- Data
- GemContribute::HostAdapter::ForkResult
- Defined in:
- lib/gem_contribute/host_adapter.rb
Overview
Result of a successful ‘fork(project)`.
-
clone_url: HTTPS URL suitable for ‘git clone`.
-
fork_url: human-readable web URL of the fork (used in summaries).
-
viewer: the authenticated user’s login (and the fork’s owner).
-
reused: true if the fork already existed; false if just created.
Instance Attribute Summary collapse
-
#clone_url ⇒ Object
readonly
Returns the value of attribute clone_url.
-
#fork_url ⇒ Object
readonly
Returns the value of attribute fork_url.
-
#reused ⇒ Object
readonly
Returns the value of attribute reused.
-
#viewer ⇒ Object
readonly
Returns the value of attribute viewer.
Instance Attribute Details
#clone_url ⇒ Object (readonly)
Returns the value of attribute clone_url
37 38 39 |
# File 'lib/gem_contribute/host_adapter.rb', line 37 def clone_url @clone_url end |
#fork_url ⇒ Object (readonly)
Returns the value of attribute fork_url
37 38 39 |
# File 'lib/gem_contribute/host_adapter.rb', line 37 def fork_url @fork_url end |
#reused ⇒ Object (readonly)
Returns the value of attribute reused
37 38 39 |
# File 'lib/gem_contribute/host_adapter.rb', line 37 def reused @reused end |
#viewer ⇒ Object (readonly)
Returns the value of attribute viewer
37 38 39 |
# File 'lib/gem_contribute/host_adapter.rb', line 37 def viewer @viewer end |