Class: Wes::Data::API::Routes

Inherits:
Object
  • Object
show all
Defined in:
lib/wes/data/api/routes.rb

Class Method Summary collapse

Class Method Details

.hashObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/wes/data/api/routes.rb', line 6

def hash
  OpenStruct.new(
    :billing      => "billing",
    :brand        => "brand",
    :brand_user   => "brand-user",
    :brands       => "brands",
    :challenge    => "challenge",
    :challenges   => "challenges",
    :collectives  => "collectives",
    :creator_user => "creator-user",
    :rewards      => "rewards",
    :submission   => "submission",
    :submissions  => "submissions",
    :users        => "users",
    :video        => "video",
    :videos       => "videos"
  )
end