Getting started Trello API Rails

Working in this Trello ruby API, had to make card from contact to trello. First get the developer public key then get the member token. Just to get started this is only for creating trello cards just to get started.

Add to gemfile

gem 'ruby-trello', '1.5.1'

def create_trello_card Trello.configure do |config| config.developer_public_key = ENV["trello_developer_public_key"] config.member_token = ENV["trello_member_token"] end list_id = Trello::Board.find(ENV["trello_board"])

name: cardName,
desc: cardDesc,
list_id: list_id


Subscribe to You Live What You Learn

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
[email protected]