Sha256: 433bf07603c972bab3df9d5fb80dbed3d5e646dd70a83353ac11e221e0d4602c
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
# Configuration To interact with the API, you must provide a valid auth token. This token can be generated from the Administration tab on the account. For more authentication information, please look at monday.com's [API documentation](https://developer.monday.com/api-reference/docs/authentication). Once you have the authentication token, you can either globally configure the library or you can configure a specific client. ### Global To configure the library globally, you can do the following: ```ruby require "monday_ruby" Monday.configure do |config| config.token = <AUTH_TOKEN> end ``` ### Client specific config To configure a client, you can do the following: ```ruby require "monday_ruby" client = Monday::Client.new(token: <AUTH_TOKEN>) ``` You can optionally pass in the version of the API you want to use using the `version` configuration field. By default, the latest stable version is used. Read more about the version on monday.com's [official documentation](https://developer.monday.com/api-reference/docs/api-versioning). ```ruby require "monday_ruby" Monday.configure do |config| config.token = <AUTH_TOKEN> config.version = "2023-10" end ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
monday_ruby-0.3.0 | docs/configuration.md |