Class: Pullrequest::Bitbucket
- Inherits:
-
Object
- Object
- Pullrequest::Bitbucket
- Defined in:
- lib/pullrequest/bitbucket.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
- #command ⇒ Object
-
#initialize(context) ⇒ Bitbucket
constructor
A new instance of Bitbucket.
- #review ⇒ Object
Constructor Details
#initialize(context) ⇒ Bitbucket
Returns a new instance of Bitbucket.
10 11 12 |
# File 'lib/pullrequest/bitbucket.rb', line 10 def initialize(context) @context = context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
8 9 10 |
# File 'lib/pullrequest/bitbucket.rb', line 8 def context @context end |
Instance Method Details
#command ⇒ Object
14 15 16 |
# File 'lib/pullrequest/bitbucket.rb', line 14 def command @command ||= generate_command end |
#review ⇒ Object
18 19 20 21 |
# File 'lib/pullrequest/bitbucket.rb', line 18 def review @data = nil @command = nil end |