Sha256: e1a2a2f39c9dff615c7033f85260802d6f5476f2b9693029b65d51bf09370dfd

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@tags[:@visibility:public:@signature")def http_basic(options = {}, &block):
@name:http_basic:@namespaceu:YARD::StubProxyGrape::API:@source"{def http_basic(options = {}, &block)
  options[:realm] ||= "API Authorization"
  auth :http_basic, options, &block
end:
@dynamicT:@docstring_extra0:@source_type:	ruby:@docstringIC:YARD::Docstring"-Add HTTP Basic authorization to the API.:@objectu;
Grape::API.http_basic;[o:YARD::Tags::Tag
;u;
Grape::API.http_basic:@tag_name"
param;
"options:@types["	Hash:
@text"A hash of options.o:YARD::Tags::OptionTag;u;
Grape::API.http_basic;"option;
"options:
@pairo:YARD::Tags::DefaultTag
;"option;
":realm;["String:@defaults0;"."API Authorization" The HTTP Basic realm.;0;0:@ref_tags[:
@summary0:	@all[	"-Add HTTP Basic authorization to the API.""-@param [Hash] options A hash of options."N@option options [String] :realm "API Authorization" The HTTP Basic realm.:@line_rangeo:
Range:endi|:
beginiy:	exclF:@scope:
class:
@linei}:@explicitT:@parameters[["options"{}["&block0:@files[["lib/grape/api.rbi}:@current_file_has_commentsT

Version data entries

3 entries across 3 versions & 1 rubygems

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