Sha256: 7592a1688291b098f322e2169895f4485af63f1e1fbfa95fc5fd0fb3ab3b932d

Contents?: true

Size: 167 Bytes

Versions: 37

Compression:

Stored size: 167 Bytes

Contents

class SecureApi < Grape::API
  helpers G5AuthenticatableApi::Helpers::Grape
  before { authenticate_user! }

  get 'secure_resource' do
    {hello: 'world'}
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
g5_authenticatable-1.1.4 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.4.rc.3 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.4.rc.2 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.4.rc.1 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.2 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.2.pre.1 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.2.rc.5 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.2.rc.4 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.2.rc.3 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.2.rc.2 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.2.rc.1 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.1 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.1.0 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.0.0 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.0.0.pre.4 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.0.0.pre.3 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.0.0.pre.2 spec/dummy/app/api/secure_api.rb
g5_authenticatable-1.0.0.pre.1 spec/dummy/app/api/secure_api.rb
g5_authenticatable-0.9.1.pre.2 spec/dummy/app/api/secure_api.rb
g5_authenticatable-0.8.1.pre spec/dummy/app/api/secure_api.rb