Class: Gitlab::Counters::Increment

Inherits:
Struct
  • Object
show all
Defined in:
lib/gitlab/counters.rb

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



5
6
7
# File 'lib/gitlab/counters.rb', line 5

def amount
  @amount
end

#refObject

Returns the value of attribute ref

Returns:

  • (Object)

    the current value of ref



5
6
7
# File 'lib/gitlab/counters.rb', line 5

def ref
  @ref
end