Class: Api::V2::OmahaGroupsController

Inherits:
V2::BaseController
  • Object
show all
Includes:
Api::Version2
Defined in:
app/controllers/api/v2/omaha_groups_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



14
15
16
17
# File 'app/controllers/api/v2/omaha_groups_controller.rb', line 14

def index
  @omaha_groups = resource_scope_for_index
  @total = resource_scope_for_index.count
end

#showObject



22
# File 'app/controllers/api/v2/omaha_groups_controller.rb', line 22

def show; end