Module: BlossomApi::Project::Card
- Included in:
- BlossomApi::Project
- Defined in:
- lib/blossom_api/project/card.rb
Instance Method Summary collapse
Instance Method Details
#create_card(title, description) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/blossom_api/project/card.rb', line 5 def create_card(title, description) title_response = post_card_title(title) if title_response.code == 200 description_response = patch_card_description(title_response['id'], description) if description_response.code == 200 return true else return false end else return false end end |