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
24
25
26
27
# 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",
    :creator_users     => "creator-users",
    :rewards           => "rewards",
    :reward            => "reward",
    :submission        => "submission",
    :submissions       => "submissions",
    :video             => "video",
    :videos            => "videos",
    :transcoding_state => "transcoding-state",
    :questions         => "questions",
    :answers           => "answers"
  )
end