Module: Ribose::Actions::All
- Extended by:
- Base
- Included in:
- Ribose::AppData, Ribose::AppRelation, Calendar, Connection, ConnectionInvitation, Conversation, Feed, JoinSpaceRequest, Leaderboard, Member, Message, Setting, Space, SpaceCategory, SpaceFile, SpaceInvitation, Stream, Widget, Wiki
- Defined in:
- lib/ribose/actions/all.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#all ⇒ Array <Sawyer::Resource>
List Resources.
Methods included from Base
Instance Method Details
#all ⇒ Array <Sawyer::Resource>
List Resources
Retrieve the list of resources via :get and then extract the the root element from the response object.
14 15 16 17 |
# File 'lib/ribose/actions/all.rb', line 14 def all response = Ribose::Request.get(resources_path, custom_option) extract_root(response) || response end |