Class: Verso::CredentialList

Inherits:
Base
  • Object
show all
Extended by:
Forwardable
Includes:
Enumerable, HTTPGettable
Defined in:
lib/verso/credential_list.rb

Overview

Credential list resource

Search for Credential objects using free text, or get back the list of all of them.

Examples:

All

creds = Verso::CredentialList.new # => everything
creds.first # => <Verso::Credential:0x007fb1a39e4038 . . . >

Search

creds = Verso::CredentialList.new(:text => "nocti")
creds.first.source.title # => "National Occupational Competency Testing Institute (NOCTI)"

Options Hash (attrs):

  • :text (String)

    Free text

See Also:

Instance Attribute Summary

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

attr_reader, #initialize

Constructor Details

This class inherits a constructor from Verso::Base