Class: Ribose::Connection
- Includes:
- Actions::All
- Defined in:
- lib/ribose/connection.rb
Class Method Summary collapse
-
.all(options = {}) ⇒ Sawyer::Resource
List Connections.
-
.suggestions(client: nil, **options) ⇒ Array <Sawyer::Resource>
List connection suggestions.
Methods included from Actions::All
Methods included from Actions::Base
Methods inherited from Base
Methods included from ResourceHelper
#resource_id, #resource_key, #resource_path, #resources
Constructor Details
This class inherits a constructor from Ribose::Base
Class Method Details
.all(options = {}) ⇒ Sawyer::Resource
List Connections
Note: Currently, There are some chaching in place for this endpoint which requires us to pass the ‘s` query params otherwise we might have some unexpected behavior sometime. That’s why we are adding the ‘s` incase that’s not present with the query options.
15 16 17 |
# File 'lib/ribose/connection.rb', line 15 def self.all( = {}) new(.merge(query: { s: "" })).all end |