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
# File 'lib/wes/data/api/routes.rb', line 6

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