Sha256: 59957c9d060590b25bd90344991dd296a1c4aec4a5e20e284b541b833365c0df
Contents?: true
Size: 698 Bytes
Versions: 10
Compression:
Stored size: 698 Bytes
Contents
class ApiSpec::Spec endpoint 'Sites' do |tags| tags.method('Index') do |method| method.synopsis = 'Returns a list of all sites' method.http_method = 'GET' method.uri = '/sites' method.parameter('__token') do |p| p.required = 'N' p.type = 'string' p.description = 'pagination token' end method.parameter('__nonce') do |p| p.required = 'N' p.type = 'string' p.description = 'pagination nonce' end method.parameter('limit') do |p| p.required = 'N' p.default = '10' p.type = 'int' p.description = 'maximum number of results to return' end end end end
Version data entries
10 entries across 10 versions & 1 rubygems