Module: IntrospectiveGrape::Doc

Included in:
API
Defined in:
lib/introspective_grape/doc.rb

Instance Method Summary collapse

Instance Method Details

#create_documentation(name = nil) ⇒ Object



11
12
13
# File 'lib/introspective_grape/doc.rb', line 11

def create_documentation(name=nil)
  "creates a new #{name} record"
end

#destroy_documentation(name = nil) ⇒ Object



19
20
21
# File 'lib/introspective_grape/doc.rb', line 19

def destroy_documentation(name=nil)
  "destroys the details of a #{name}"
end

#index_documentation(name = nil) ⇒ Object



3
4
5
# File 'lib/introspective_grape/doc.rb', line 3

def index_documentation(name=nil)
  "returns list of all #{name}"
end

#show_documentation(name = nil) ⇒ Object



7
8
9
# File 'lib/introspective_grape/doc.rb', line 7

def show_documentation(name=nil)
  "returns details on a #{name}"
end

#update_documentation(name = nil) ⇒ Object



15
16
17
# File 'lib/introspective_grape/doc.rb', line 15

def update_documentation(name=nil)
  "updates the details of a #{name}"
end