Sha256: ea063e87335bd57326087dd9f6d3e4871a8654bb0cff9f9fd6a8b873dc36346c
Contents?: true
Size: 1.16 KB
Versions: 4
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-07" end ```
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
monday_ruby-0.6.2 | docs/configuration.md |
monday_ruby-0.6.1 | docs/configuration.md |
monday_ruby-0.6.0 | docs/configuration.md |
monday_ruby-0.4.0 | docs/configuration.md |