Sha256: 1f8cea2fa67d2f4a33924629d9d3f06ada883ccdb23ad40dfb19d5f66d0136b1

Contents?: true

Size: 857 Bytes

Versions: 3

Compression:

Stored size: 857 Bytes

Contents

o:$YARD::CodeObjects::MethodObject:
@tags[:@visibility:public:@signature"/def auth(type = nil, options = {}, &block):
@name:	auth:@namespaceu:YARD::StubProxyGrape::API:@source"źdef auth(type = nil, options = {}, &block)
  if type
    set(:auth, {:type => type.to_sym, :proc => block}.merge(options))
  else
    settings[:auth]
  end
end:
@dynamicT:@docstring_extra0:@source_type:	ruby:@docstringIC:YARD::Docstring"VAdd an authentication type to the API. Currently
only `:http_basic` is supported.:@objectu;
Grape::API.auth;[:@ref_tags[:
@summary0:	@all["5Add an authentication type to the API. Currently"%only `:http_basic` is supported.:@line_rangeo:
Range:endip:
beginio:	exclF:@scope:
class:
@lineiq:@explicitT:@parameters[["	type"nil["options"{}["&block0:@files[["lib/grape/api.rbiq:@current_file_has_commentsT

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grape-0.1.5 .yardoc/objects/Grape/API/auth_c.dat
grape-0.1.4 .yardoc/objects/Grape/API/auth_c.dat
grape-0.1.3 .yardoc/objects/Grape/API/auth_c.dat