Method: Rollout::Feature#to_hash

Defined in:
lib/rollout/feature.rb

#to_hashObject

[View source]

66
67
68
69
70
71
72
73
# File 'lib/rollout/feature.rb', line 66

def to_hash
  {
    percentage: @percentage,
    groups: @groups,
    users: @users,
    data: @data,
  }
end