shortcut_client_ruby 0.0.4 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +74 -0
- data/README.md +31 -1986
- data/Rakefile +2 -0
- data/bin/update.rb +8 -4
- data/config.json +2 -1
- data/docs/BasicWorkspaceInfo.md +16 -4
- data/docs/Branch.md +34 -13
- data/docs/Category.md +30 -11
- data/docs/Commit.md +38 -15
- data/docs/CreateCategory.md +20 -6
- data/docs/CreateCategoryParams.md +18 -5
- data/docs/CreateCommentComment.md +22 -7
- data/docs/CreateEntityTemplate.md +18 -5
- data/docs/CreateEpic.md +46 -19
- data/docs/CreateEpicComment.md +22 -7
- data/docs/CreateGroup.md +28 -10
- data/docs/CreateIteration.md +26 -9
- data/docs/CreateLabelParams.md +20 -6
- data/docs/CreateLinkedFile.md +30 -11
- data/docs/CreateMilestone.md +24 -8
- data/docs/CreateOrDeleteStoryReaction.md +14 -3
- data/docs/CreateProject.md +34 -13
- data/docs/CreateStories.md +14 -3
- data/docs/CreateStoryComment.md +22 -7
- data/docs/CreateStoryCommentParams.md +22 -7
- data/docs/CreateStoryContents.md +54 -23
- data/docs/CreateStoryLink.md +18 -5
- data/docs/CreateStoryLinkParams.md +18 -5
- data/docs/CreateStoryParams.md +66 -29
- data/docs/CreateTask.md +24 -8
- data/docs/CreateTaskParams.md +24 -8
- data/docs/DefaultApi.md +3569 -1641
- data/docs/DeleteStories.md +14 -3
- data/docs/EntityTemplate.md +28 -10
- data/docs/EntityTemplateTask.md +20 -6
- data/docs/Epic.md +88 -40
- data/docs/EpicSearchResults.md +20 -6
- data/docs/EpicSlim.md +86 -39
- data/docs/EpicState.md +30 -11
- data/docs/EpicStats.md +38 -15
- data/docs/EpicWorkflow.md +24 -8
- data/docs/GetEpicStories.md +14 -3
- data/docs/GetExternalLinkStoriesParams.md +14 -3
- data/docs/GetIterationStories.md +14 -3
- data/docs/GetLabelStories.md +14 -3
- data/docs/GetMember.md +14 -3
- data/docs/GetProjectStories.md +14 -3
- data/docs/Group.md +44 -18
- data/docs/History.md +30 -11
- data/docs/HistoryActionBranchCreate.md +22 -7
- data/docs/HistoryActionBranchMerge.md +22 -7
- data/docs/HistoryActionBranchPush.md +22 -7
- data/docs/HistoryActionLabelCreate.md +22 -7
- data/docs/HistoryActionLabelDelete.md +20 -6
- data/docs/HistoryActionLabelUpdate.md +18 -5
- data/docs/HistoryActionProjectUpdate.md +22 -7
- data/docs/HistoryActionPullRequest.md +24 -8
- data/docs/HistoryActionStoryCommentCreate.md +24 -8
- data/docs/HistoryActionStoryCreate.md +60 -26
- data/docs/HistoryActionStoryDelete.md +22 -7
- data/docs/HistoryActionStoryLinkCreate.md +24 -8
- data/docs/HistoryActionStoryLinkDelete.md +24 -8
- data/docs/HistoryActionStoryLinkUpdate.md +26 -9
- data/docs/HistoryActionStoryUpdate.md +26 -9
- data/docs/HistoryActionTaskCreate.md +30 -11
- data/docs/HistoryActionTaskDelete.md +20 -6
- data/docs/HistoryActionTaskUpdate.md +26 -9
- data/docs/HistoryChangesStory.md +60 -26
- data/docs/HistoryChangesStoryLink.md +18 -5
- data/docs/HistoryChangesTask.md +20 -6
- data/docs/HistoryReferenceBranch.md +20 -6
- data/docs/HistoryReferenceCommit.md +20 -6
- data/docs/HistoryReferenceEpic.md +20 -6
- data/docs/HistoryReferenceGeneral.md +18 -5
- data/docs/HistoryReferenceGroup.md +18 -5
- data/docs/HistoryReferenceIteration.md +20 -6
- data/docs/HistoryReferenceLabel.md +20 -6
- data/docs/HistoryReferenceProject.md +20 -6
- data/docs/HistoryReferenceStory.md +22 -7
- data/docs/HistoryReferenceStoryTask.md +18 -5
- data/docs/HistoryReferenceWorkflowState.md +20 -6
- data/docs/Icon.md +22 -7
- data/docs/Identity.md +18 -5
- data/docs/Iteration.md +48 -20
- data/docs/IterationSlim.md +46 -19
- data/docs/IterationStats.md +34 -13
- data/docs/Label.md +34 -13
- data/docs/LabelSlim.md +32 -12
- data/docs/LabelStats.md +42 -17
- data/docs/LinkedFile.md +44 -18
- data/docs/ListEpics.md +14 -3
- data/docs/ListGroupStories.md +16 -4
- data/docs/ListLabels.md +14 -3
- data/docs/ListMembers.md +14 -3
- data/docs/MaxSearchResultsExceededError.md +18 -5
- data/docs/Member.md +34 -13
- data/docs/MemberInfo.md +20 -6
- data/docs/Milestone.md +46 -19
- data/docs/MilestoneStats.md +18 -5
- data/docs/Profile.md +30 -11
- data/docs/Project.md +50 -21
- data/docs/ProjectStats.md +18 -5
- data/docs/PullRequest.md +56 -24
- data/docs/PullRequestLabel.md +22 -7
- data/docs/Repository.md +30 -11
- data/docs/Search.md +20 -6
- data/docs/SearchResults.md +16 -4
- data/docs/SearchStories.md +68 -30
- data/docs/Story.md +112 -52
- data/docs/StoryComment.md +40 -16
- data/docs/StoryContents.md +50 -21
- data/docs/StoryContentsTask.md +22 -7
- data/docs/StoryHistoryChangeAddsRemovesInt.md +16 -4
- data/docs/StoryHistoryChangeAddsRemovesUuid.md +16 -4
- data/docs/StoryHistoryChangeOldNewBool.md +16 -4
- data/docs/StoryHistoryChangeOldNewInt.md +16 -4
- data/docs/StoryHistoryChangeOldNewStr.md +16 -4
- data/docs/StoryHistoryChangeOldNewUuid.md +16 -4
- data/docs/StoryLink.md +28 -10
- data/docs/StoryReaction.md +16 -4
- data/docs/StorySearchResults.md +20 -6
- data/docs/StorySlim.md +108 -50
- data/docs/StoryStats.md +14 -3
- data/docs/Task.md +40 -16
- data/docs/ThreadedComment.md +38 -15
- data/docs/TypedStoryLink.md +30 -11
- data/docs/UnusableEntitlementError.md +18 -5
- data/docs/UpdateCategory.md +18 -5
- data/docs/UpdateComment.md +14 -3
- data/docs/UpdateEntityTemplate.md +16 -4
- data/docs/UpdateEpic.md +46 -19
- data/docs/UpdateFile.md +24 -8
- data/docs/UpdateGroup.md +30 -11
- data/docs/UpdateIteration.md +26 -9
- data/docs/UpdateLabel.md +20 -6
- data/docs/UpdateLinkedFile.md +28 -10
- data/docs/UpdateMilestone.md +28 -10
- data/docs/UpdateProject.md +30 -11
- data/docs/UpdateStories.md +54 -23
- data/docs/UpdateStory.md +64 -28
- data/docs/UpdateStoryComment.md +14 -3
- data/docs/UpdateStoryContents.md +54 -23
- data/docs/UpdateStoryLink.md +18 -5
- data/docs/UpdateTask.md +22 -7
- data/docs/UploadedFile.md +46 -19
- data/docs/Workflow.md +34 -13
- data/docs/WorkflowState.md +36 -14
- data/git_push.sh +11 -9
- data/lib/shortcut_client_ruby/api/default_api.rb +2119 -1248
- data/lib/shortcut_client_ruby/api_client.rb +143 -106
- data/lib/shortcut_client_ruby/api_error.rb +4 -4
- data/lib/shortcut_client_ruby/configuration.rb +163 -32
- data/lib/shortcut_client_ruby/models/basic_workspace_info.rb +26 -13
- data/lib/shortcut_client_ruby/models/branch.rb +35 -42
- data/lib/shortcut_client_ruby/models/category.rb +57 -28
- data/lib/shortcut_client_ruby/models/commit.rb +37 -44
- data/lib/shortcut_client_ruby/models/create_category.rb +90 -17
- data/lib/shortcut_client_ruby/models/create_category_params.rb +87 -14
- data/lib/shortcut_client_ruby/models/create_comment_comment.rb +57 -16
- data/lib/shortcut_client_ruby/models/create_entity_template.rb +46 -14
- data/lib/shortcut_client_ruby/models/create_epic.rb +86 -30
- data/lib/shortcut_client_ruby/models/create_epic_comment.rb +57 -16
- data/lib/shortcut_client_ruby/models/create_group.rb +104 -21
- data/lib/shortcut_client_ruby/models/create_iteration.rb +103 -18
- data/lib/shortcut_client_ruby/models/create_label_params.rb +97 -15
- data/lib/shortcut_client_ruby/models/create_linked_file.rb +110 -22
- data/lib/shortcut_client_ruby/models/create_milestone.rb +75 -19
- data/lib/shortcut_client_ruby/models/create_or_delete_story_reaction.rb +25 -12
- data/lib/shortcut_client_ruby/models/create_project.rb +104 -22
- data/lib/shortcut_client_ruby/models/create_stories.rb +25 -12
- data/lib/shortcut_client_ruby/models/create_story_comment.rb +48 -16
- data/lib/shortcut_client_ruby/models/create_story_comment_params.rb +48 -16
- data/lib/shortcut_client_ruby/models/create_story_contents.rb +57 -32
- data/lib/shortcut_client_ruby/models/create_story_link.rb +29 -16
- data/lib/shortcut_client_ruby/models/create_story_link_params.rb +29 -16
- data/lib/shortcut_client_ruby/models/create_story_params.rb +120 -40
- data/lib/shortcut_client_ruby/models/create_task.rb +30 -17
- data/lib/shortcut_client_ruby/models/create_task_params.rb +30 -17
- data/lib/shortcut_client_ruby/models/delete_stories.rb +35 -12
- data/lib/shortcut_client_ruby/models/entity_template.rb +32 -19
- data/lib/shortcut_client_ruby/models/entity_template_task.rb +28 -15
- data/lib/shortcut_client_ruby/models/epic.rb +62 -124
- data/lib/shortcut_client_ruby/models/epic_search_results.rb +28 -20
- data/lib/shortcut_client_ruby/models/epic_slim.rb +61 -123
- data/lib/shortcut_client_ruby/models/epic_state.rb +59 -20
- data/lib/shortcut_client_ruby/models/epic_stats.rb +37 -29
- data/lib/shortcut_client_ruby/models/epic_workflow.rb +30 -17
- data/lib/shortcut_client_ruby/models/get_epic_stories.rb +25 -12
- data/lib/shortcut_client_ruby/models/get_external_link_stories_params.rb +55 -12
- data/lib/shortcut_client_ruby/models/get_iteration_stories.rb +25 -12
- data/lib/shortcut_client_ruby/models/get_label_stories.rb +25 -12
- data/lib/shortcut_client_ruby/models/get_member.rb +25 -12
- data/lib/shortcut_client_ruby/models/get_project_stories.rb +25 -12
- data/lib/shortcut_client_ruby/models/group.rb +96 -37
- data/lib/shortcut_client_ruby/models/history.rb +35 -22
- data/lib/shortcut_client_ruby/models/history_action_branch_create.rb +31 -18
- data/lib/shortcut_client_ruby/models/history_action_branch_merge.rb +31 -18
- data/lib/shortcut_client_ruby/models/history_action_branch_push.rb +31 -18
- data/lib/shortcut_client_ruby/models/history_action_label_create.rb +61 -18
- data/lib/shortcut_client_ruby/models/history_action_label_delete.rb +30 -17
- data/lib/shortcut_client_ruby/models/history_action_label_update.rb +29 -16
- data/lib/shortcut_client_ruby/models/history_action_project_update.rb +61 -18
- data/lib/shortcut_client_ruby/models/history_action_pull_request.rb +62 -19
- data/lib/shortcut_client_ruby/models/history_action_story_comment_create.rb +62 -19
- data/lib/shortcut_client_ruby/models/history_action_story_create.rb +82 -39
- data/lib/shortcut_client_ruby/models/history_action_story_delete.rb +33 -20
- data/lib/shortcut_client_ruby/models/history_action_story_link_create.rb +34 -21
- data/lib/shortcut_client_ruby/models/history_action_story_link_delete.rb +34 -31
- data/lib/shortcut_client_ruby/models/history_action_story_link_update.rb +35 -22
- data/lib/shortcut_client_ruby/models/history_action_story_update.rb +65 -22
- data/lib/shortcut_client_ruby/models/history_action_task_create.rb +35 -22
- data/lib/shortcut_client_ruby/models/history_action_task_delete.rb +30 -17
- data/lib/shortcut_client_ruby/models/history_action_task_update.rb +33 -20
- data/lib/shortcut_client_ruby/models/history_changes_story.rb +48 -35
- data/lib/shortcut_client_ruby/models/history_changes_story_link.rb +27 -14
- data/lib/shortcut_client_ruby/models/history_changes_task.rb +28 -15
- data/lib/shortcut_client_ruby/models/history_reference_branch.rb +58 -15
- data/lib/shortcut_client_ruby/models/history_reference_commit.rb +58 -15
- data/lib/shortcut_client_ruby/models/history_reference_epic.rb +58 -15
- data/lib/shortcut_client_ruby/models/history_reference_general.rb +27 -14
- data/lib/shortcut_client_ruby/models/history_reference_group.rb +27 -14
- data/lib/shortcut_client_ruby/models/history_reference_iteration.rb +58 -15
- data/lib/shortcut_client_ruby/models/history_reference_label.rb +58 -15
- data/lib/shortcut_client_ruby/models/history_reference_project.rb +58 -15
- data/lib/shortcut_client_ruby/models/history_reference_story.rb +61 -18
- data/lib/shortcut_client_ruby/models/history_reference_story_task.rb +27 -14
- data/lib/shortcut_client_ruby/models/history_reference_workflow_state.rb +30 -17
- data/lib/shortcut_client_ruby/models/icon.rb +29 -16
- data/lib/shortcut_client_ruby/models/identity.rb +27 -24
- data/lib/shortcut_client_ruby/models/iteration.rb +42 -29
- data/lib/shortcut_client_ruby/models/iteration_slim.rb +41 -28
- data/lib/shortcut_client_ruby/models/iteration_stats.rb +35 -22
- data/lib/shortcut_client_ruby/models/label.rb +59 -45
- data/lib/shortcut_client_ruby/models/label_slim.rb +58 -44
- data/lib/shortcut_client_ruby/models/label_stats.rb +39 -26
- data/lib/shortcut_client_ruby/models/linked_file.rb +40 -47
- data/lib/shortcut_client_ruby/models/list_epics.rb +25 -12
- data/lib/shortcut_client_ruby/models/list_group_stories.rb +26 -13
- data/lib/shortcut_client_ruby/models/list_labels.rb +25 -12
- data/lib/shortcut_client_ruby/models/list_members.rb +25 -12
- data/lib/shortcut_client_ruby/models/max_search_results_exceeded_error.rb +31 -18
- data/lib/shortcut_client_ruby/models/member.rb +37 -34
- data/lib/shortcut_client_ruby/models/member_info.rb +28 -15
- data/lib/shortcut_client_ruby/models/milestone.rb +41 -48
- data/lib/shortcut_client_ruby/models/milestone_stats.rb +27 -14
- data/lib/shortcut_client_ruby/models/profile.rb +33 -35
- data/lib/shortcut_client_ruby/models/project.rb +67 -58
- data/lib/shortcut_client_ruby/models/project_stats.rb +27 -14
- data/lib/shortcut_client_ruby/models/pull_request.rb +46 -43
- data/lib/shortcut_client_ruby/models/pull_request_label.rb +59 -16
- data/lib/shortcut_client_ruby/models/repository.rb +33 -55
- data/lib/shortcut_client_ruby/models/search.rb +49 -17
- data/lib/shortcut_client_ruby/models/search_results.rb +26 -13
- data/lib/shortcut_client_ruby/models/search_stories.rb +105 -41
- data/lib/shortcut_client_ruby/models/story.rb +74 -131
- data/lib/shortcut_client_ruby/models/story_comment.rb +38 -40
- data/lib/shortcut_client_ruby/models/story_contents.rb +43 -30
- data/lib/shortcut_client_ruby/models/story_contents_task.rb +29 -16
- data/lib/shortcut_client_ruby/models/story_history_change_adds_removes_int.rb +26 -13
- data/lib/shortcut_client_ruby/models/story_history_change_adds_removes_uuid.rb +26 -13
- data/lib/shortcut_client_ruby/models/story_history_change_old_new_bool.rb +26 -13
- data/lib/shortcut_client_ruby/models/story_history_change_old_new_int.rb +26 -13
- data/lib/shortcut_client_ruby/models/story_history_change_old_new_str.rb +26 -13
- data/lib/shortcut_client_ruby/models/story_history_change_old_new_uuid.rb +26 -13
- data/lib/shortcut_client_ruby/models/story_link.rb +32 -19
- data/lib/shortcut_client_ruby/models/story_reaction.rb +26 -13
- data/lib/shortcut_client_ruby/models/story_search_results.rb +28 -20
- data/lib/shortcut_client_ruby/models/story_slim.rb +72 -129
- data/lib/shortcut_client_ruby/models/story_stats.rb +25 -12
- data/lib/shortcut_client_ruby/models/task.rb +38 -40
- data/lib/shortcut_client_ruby/models/threaded_comment.rb +37 -29
- data/lib/shortcut_client_ruby/models/typed_story_link.rb +33 -20
- data/lib/shortcut_client_ruby/models/unusable_entitlement_error.rb +85 -16
- data/lib/shortcut_client_ruby/models/update_category.rb +68 -14
- data/lib/shortcut_client_ruby/models/update_comment.rb +25 -12
- data/lib/shortcut_client_ruby/models/update_entity_template.rb +41 -13
- data/lib/shortcut_client_ruby/models/update_epic.rb +82 -30
- data/lib/shortcut_client_ruby/models/update_file.rb +54 -17
- data/lib/shortcut_client_ruby/models/update_group.rb +97 -22
- data/lib/shortcut_client_ruby/models/update_iteration.rb +91 -18
- data/lib/shortcut_client_ruby/models/update_label.rb +78 -15
- data/lib/shortcut_client_ruby/models/update_linked_file.rb +101 -21
- data/lib/shortcut_client_ruby/models/update_milestone.rb +73 -21
- data/lib/shortcut_client_ruby/models/update_project.rb +98 -20
- data/lib/shortcut_client_ruby/models/update_stories.rb +83 -36
- data/lib/shortcut_client_ruby/models/update_story.rb +135 -41
- data/lib/shortcut_client_ruby/models/update_story_comment.rb +44 -12
- data/lib/shortcut_client_ruby/models/update_story_contents.rb +57 -32
- data/lib/shortcut_client_ruby/models/update_story_link.rb +29 -16
- data/lib/shortcut_client_ruby/models/update_task.rb +29 -16
- data/lib/shortcut_client_ruby/models/uploaded_file.rb +41 -53
- data/lib/shortcut_client_ruby/models/workflow.rb +35 -22
- data/lib/shortcut_client_ruby/models/workflow_state.rb +60 -26
- data/lib/shortcut_client_ruby/version.rb +5 -4
- data/lib/shortcut_client_ruby.rb +4 -4
- data/openapi-generator-cli.jar +0 -0
- data/shortcut_client_ruby-0.0.4.gem +0 -0
- data/shortcut_client_ruby.gemspec +7 -6
- data/spec/api/default_api_spec.rb +64 -63
- data/spec/api_client_spec.rb +7 -44
- data/spec/configuration_spec.rb +7 -6
- data/spec/models/basic_workspace_info_spec.rb +8 -14
- data/spec/models/branch_spec.rb +8 -14
- data/spec/models/category_spec.rb +8 -14
- data/spec/models/commit_spec.rb +8 -14
- data/spec/models/create_category_params_spec.rb +8 -14
- data/spec/models/create_category_spec.rb +9 -15
- data/spec/models/create_comment_comment_spec.rb +8 -14
- data/spec/models/create_entity_template_spec.rb +8 -14
- data/spec/models/create_epic_comment_spec.rb +8 -14
- data/spec/models/create_epic_spec.rb +9 -15
- data/spec/models/create_group_spec.rb +9 -15
- data/spec/models/create_iteration_spec.rb +8 -14
- data/spec/models/create_label_params_spec.rb +8 -14
- data/spec/models/create_linked_file_spec.rb +9 -15
- data/spec/models/create_milestone_spec.rb +9 -15
- data/spec/models/create_or_delete_story_reaction_spec.rb +8 -14
- data/spec/models/create_project_spec.rb +8 -14
- data/spec/models/create_stories_spec.rb +8 -14
- data/spec/models/create_story_comment_params_spec.rb +8 -14
- data/spec/models/create_story_comment_spec.rb +8 -14
- data/spec/models/create_story_contents_spec.rb +8 -14
- data/spec/models/create_story_link_params_spec.rb +9 -15
- data/spec/models/create_story_link_spec.rb +9 -15
- data/spec/models/create_story_params_spec.rb +9 -15
- data/spec/models/create_task_params_spec.rb +8 -14
- data/spec/models/create_task_spec.rb +8 -14
- data/spec/models/delete_stories_spec.rb +8 -14
- data/spec/models/entity_template_spec.rb +8 -14
- data/spec/models/entity_template_task_spec.rb +8 -14
- data/spec/models/epic_search_results_spec.rb +8 -14
- data/spec/models/epic_slim_spec.rb +8 -14
- data/spec/models/epic_spec.rb +8 -14
- data/spec/models/epic_state_spec.rb +8 -14
- data/spec/models/epic_stats_spec.rb +8 -14
- data/spec/models/epic_workflow_spec.rb +8 -14
- data/spec/models/get_epic_stories_spec.rb +8 -14
- data/spec/models/get_external_link_stories_params_spec.rb +8 -14
- data/spec/models/get_iteration_stories_spec.rb +8 -14
- data/spec/models/get_label_stories_spec.rb +8 -14
- data/spec/models/get_member_spec.rb +8 -14
- data/spec/models/get_project_stories_spec.rb +8 -14
- data/spec/models/group_spec.rb +9 -15
- data/spec/models/history_action_branch_create_spec.rb +9 -15
- data/spec/models/history_action_branch_merge_spec.rb +9 -15
- data/spec/models/history_action_branch_push_spec.rb +9 -15
- data/spec/models/history_action_label_create_spec.rb +9 -15
- data/spec/models/history_action_label_delete_spec.rb +9 -15
- data/spec/models/history_action_label_update_spec.rb +9 -15
- data/spec/models/history_action_project_update_spec.rb +9 -15
- data/spec/models/history_action_pull_request_spec.rb +9 -15
- data/spec/models/history_action_story_comment_create_spec.rb +9 -15
- data/spec/models/history_action_story_create_spec.rb +10 -16
- data/spec/models/history_action_story_delete_spec.rb +10 -16
- data/spec/models/history_action_story_link_create_spec.rb +10 -16
- data/spec/models/history_action_story_link_delete_spec.rb +10 -16
- data/spec/models/history_action_story_link_update_spec.rb +10 -16
- data/spec/models/history_action_story_update_spec.rb +10 -16
- data/spec/models/history_action_task_create_spec.rb +9 -15
- data/spec/models/history_action_task_delete_spec.rb +9 -15
- data/spec/models/history_action_task_update_spec.rb +9 -15
- data/spec/models/history_changes_story_link_spec.rb +8 -14
- data/spec/models/history_changes_story_spec.rb +8 -14
- data/spec/models/history_changes_task_spec.rb +8 -14
- data/spec/models/history_reference_branch_spec.rb +8 -14
- data/spec/models/history_reference_commit_spec.rb +8 -14
- data/spec/models/history_reference_epic_spec.rb +8 -14
- data/spec/models/history_reference_general_spec.rb +8 -14
- data/spec/models/history_reference_group_spec.rb +8 -14
- data/spec/models/history_reference_iteration_spec.rb +8 -14
- data/spec/models/history_reference_label_spec.rb +8 -14
- data/spec/models/history_reference_project_spec.rb +8 -14
- data/spec/models/history_reference_story_spec.rb +9 -15
- data/spec/models/history_reference_story_task_spec.rb +8 -14
- data/spec/models/history_reference_workflow_state_spec.rb +9 -15
- data/spec/models/history_spec.rb +9 -15
- data/spec/models/icon_spec.rb +8 -14
- data/spec/models/identity_spec.rb +8 -14
- data/spec/models/iteration_slim_spec.rb +8 -14
- data/spec/models/iteration_spec.rb +8 -14
- data/spec/models/iteration_stats_spec.rb +8 -14
- data/spec/models/label_slim_spec.rb +8 -14
- data/spec/models/label_spec.rb +8 -14
- data/spec/models/label_stats_spec.rb +8 -14
- data/spec/models/linked_file_spec.rb +8 -14
- data/spec/models/list_epics_spec.rb +8 -14
- data/spec/models/list_group_stories_spec.rb +8 -14
- data/spec/models/list_labels_spec.rb +8 -14
- data/spec/models/list_members_spec.rb +8 -14
- data/spec/models/max_search_results_exceeded_error_spec.rb +11 -17
- data/spec/models/member_info_spec.rb +8 -14
- data/spec/models/member_spec.rb +9 -15
- data/spec/models/milestone_spec.rb +8 -14
- data/spec/models/milestone_stats_spec.rb +8 -14
- data/spec/models/profile_spec.rb +8 -14
- data/spec/models/project_spec.rb +8 -14
- data/spec/models/project_stats_spec.rb +8 -14
- data/spec/models/pull_request_label_spec.rb +8 -14
- data/spec/models/pull_request_spec.rb +8 -14
- data/spec/models/repository_spec.rb +8 -14
- data/spec/models/search_results_spec.rb +8 -14
- data/spec/models/search_spec.rb +9 -15
- data/spec/models/search_stories_spec.rb +10 -16
- data/spec/models/story_comment_spec.rb +8 -14
- data/spec/models/story_contents_spec.rb +8 -14
- data/spec/models/story_contents_task_spec.rb +8 -14
- data/spec/models/story_history_change_adds_removes_int_spec.rb +8 -14
- data/spec/models/story_history_change_adds_removes_uuid_spec.rb +8 -14
- data/spec/models/story_history_change_old_new_bool_spec.rb +8 -14
- data/spec/models/story_history_change_old_new_int_spec.rb +8 -14
- data/spec/models/story_history_change_old_new_str_spec.rb +8 -14
- data/spec/models/story_history_change_old_new_uuid_spec.rb +8 -14
- data/spec/models/story_link_spec.rb +8 -14
- data/spec/models/story_reaction_spec.rb +8 -14
- data/spec/models/story_search_results_spec.rb +8 -14
- data/spec/models/story_slim_spec.rb +8 -14
- data/spec/models/story_spec.rb +8 -14
- data/spec/models/story_stats_spec.rb +8 -14
- data/spec/models/task_spec.rb +8 -14
- data/spec/models/threaded_comment_spec.rb +8 -14
- data/spec/models/typed_story_link_spec.rb +8 -14
- data/spec/models/unusable_entitlement_error_spec.rb +9 -15
- data/spec/models/update_category_spec.rb +8 -14
- data/spec/models/update_comment_spec.rb +8 -14
- data/spec/models/update_entity_template_spec.rb +8 -14
- data/spec/models/update_epic_spec.rb +9 -15
- data/spec/models/update_file_spec.rb +8 -14
- data/spec/models/update_group_spec.rb +9 -15
- data/spec/models/update_iteration_spec.rb +8 -14
- data/spec/models/update_label_spec.rb +8 -14
- data/spec/models/update_linked_file_spec.rb +9 -15
- data/spec/models/update_milestone_spec.rb +9 -15
- data/spec/models/update_project_spec.rb +8 -14
- data/spec/models/update_stories_spec.rb +10 -16
- data/spec/models/update_story_comment_spec.rb +8 -14
- data/spec/models/update_story_contents_spec.rb +8 -14
- data/spec/models/update_story_link_spec.rb +9 -15
- data/spec/models/update_story_spec.rb +10 -16
- data/spec/models/update_task_spec.rb +8 -14
- data/spec/models/uploaded_file_spec.rb +8 -14
- data/spec/models/workflow_spec.rb +8 -14
- data/spec/models/workflow_state_spec.rb +8 -14
- data/spec/spec_helper.rb +4 -3
- metadata +18 -30
- data/docs/V3FilesBody.md +0 -11
- data/lib/shortcut/client/ruby/version.rb +0 -9
- data/lib/shortcut/client/ruby.rb +0 -12
- data/lib/shortcut_client_ruby/models/v3_files_body.rb +0 -252
- data/shortcut-client-ruby.gemspec +0 -36
- data/spec/base_object_spec.rb +0 -109
- data/spec/models/v3_files_body_spec.rb +0 -64
@@ -1,252 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Shortcut API
|
3
|
-
|
4
|
-
#Shortcut API
|
5
|
-
|
6
|
-
OpenAPI spec version: 3.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.35
|
10
|
-
=end
|
11
|
-
|
12
|
-
require 'date'
|
13
|
-
|
14
|
-
module Shortcut
|
15
|
-
class V3FilesBody
|
16
|
-
# The story ID that these files will be associated with.
|
17
|
-
attr_accessor :story_id
|
18
|
-
|
19
|
-
# A file upload. At least one is required.
|
20
|
-
attr_accessor :file0
|
21
|
-
|
22
|
-
# Optional additional files.
|
23
|
-
attr_accessor :file1
|
24
|
-
|
25
|
-
# Optional additional files.
|
26
|
-
attr_accessor :file2
|
27
|
-
|
28
|
-
# Optional additional files.
|
29
|
-
attr_accessor :file3
|
30
|
-
|
31
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
32
|
-
def self.attribute_map
|
33
|
-
{
|
34
|
-
:'story_id' => :'story_id',
|
35
|
-
:'file0' => :'file0',
|
36
|
-
:'file1' => :'file1',
|
37
|
-
:'file2' => :'file2',
|
38
|
-
:'file3' => :'file3'
|
39
|
-
}
|
40
|
-
end
|
41
|
-
|
42
|
-
# Attribute type mapping.
|
43
|
-
def self.openapi_types
|
44
|
-
{
|
45
|
-
:'story_id' => :'Object',
|
46
|
-
:'file0' => :'Object',
|
47
|
-
:'file1' => :'Object',
|
48
|
-
:'file2' => :'Object',
|
49
|
-
:'file3' => :'Object'
|
50
|
-
}
|
51
|
-
end
|
52
|
-
|
53
|
-
# List of attributes with nullable: true
|
54
|
-
def self.openapi_nullable
|
55
|
-
Set.new([
|
56
|
-
])
|
57
|
-
end
|
58
|
-
|
59
|
-
# Initializes the object
|
60
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
61
|
-
def initialize(attributes = {})
|
62
|
-
if (!attributes.is_a?(Hash))
|
63
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Shortcut::V3FilesBody` initialize method"
|
64
|
-
end
|
65
|
-
|
66
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
67
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
68
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
69
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Shortcut::V3FilesBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
70
|
-
end
|
71
|
-
h[k.to_sym] = v
|
72
|
-
}
|
73
|
-
|
74
|
-
if attributes.key?(:'story_id')
|
75
|
-
self.story_id = attributes[:'story_id']
|
76
|
-
end
|
77
|
-
|
78
|
-
if attributes.key?(:'file0')
|
79
|
-
self.file0 = attributes[:'file0']
|
80
|
-
end
|
81
|
-
|
82
|
-
if attributes.key?(:'file1')
|
83
|
-
self.file1 = attributes[:'file1']
|
84
|
-
end
|
85
|
-
|
86
|
-
if attributes.key?(:'file2')
|
87
|
-
self.file2 = attributes[:'file2']
|
88
|
-
end
|
89
|
-
|
90
|
-
if attributes.key?(:'file3')
|
91
|
-
self.file3 = attributes[:'file3']
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
96
|
-
# @return Array for valid properties with the reasons
|
97
|
-
def list_invalid_properties
|
98
|
-
invalid_properties = Array.new
|
99
|
-
if @file0.nil?
|
100
|
-
invalid_properties.push('invalid value for "file0", file0 cannot be nil.')
|
101
|
-
end
|
102
|
-
|
103
|
-
invalid_properties
|
104
|
-
end
|
105
|
-
|
106
|
-
# Check to see if the all the properties in the model are valid
|
107
|
-
# @return true if the model is valid
|
108
|
-
def valid?
|
109
|
-
return false if @file0.nil?
|
110
|
-
true
|
111
|
-
end
|
112
|
-
|
113
|
-
# Checks equality by comparing each attribute.
|
114
|
-
# @param [Object] Object to be compared
|
115
|
-
def ==(o)
|
116
|
-
return true if self.equal?(o)
|
117
|
-
self.class == o.class &&
|
118
|
-
story_id == o.story_id &&
|
119
|
-
file0 == o.file0 &&
|
120
|
-
file1 == o.file1 &&
|
121
|
-
file2 == o.file2 &&
|
122
|
-
file3 == o.file3
|
123
|
-
end
|
124
|
-
|
125
|
-
# @see the `==` method
|
126
|
-
# @param [Object] Object to be compared
|
127
|
-
def eql?(o)
|
128
|
-
self == o
|
129
|
-
end
|
130
|
-
|
131
|
-
# Calculates hash code according to all attributes.
|
132
|
-
# @return [Integer] Hash code
|
133
|
-
def hash
|
134
|
-
[story_id, file0, file1, file2, file3].hash
|
135
|
-
end
|
136
|
-
|
137
|
-
# Builds the object from hash
|
138
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
139
|
-
# @return [Object] Returns the model itself
|
140
|
-
def self.build_from_hash(attributes)
|
141
|
-
new.build_from_hash(attributes)
|
142
|
-
end
|
143
|
-
|
144
|
-
# Builds the object from hash
|
145
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
146
|
-
# @return [Object] Returns the model itself
|
147
|
-
def build_from_hash(attributes)
|
148
|
-
return nil unless attributes.is_a?(Hash)
|
149
|
-
self.class.openapi_types.each_pair do |key, type|
|
150
|
-
if type =~ /\AArray<(.*)>/i
|
151
|
-
# check to ensure the input is an array given that the attribute
|
152
|
-
# is documented as an array but the input is not
|
153
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
154
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
155
|
-
end
|
156
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
157
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
158
|
-
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
159
|
-
self.send("#{key}=", nil)
|
160
|
-
end
|
161
|
-
end
|
162
|
-
|
163
|
-
self
|
164
|
-
end
|
165
|
-
|
166
|
-
# Deserializes the data based on type
|
167
|
-
# @param string type Data type
|
168
|
-
# @param string value Value to be deserialized
|
169
|
-
# @return [Object] Deserialized data
|
170
|
-
def _deserialize(type, value)
|
171
|
-
case type.to_sym
|
172
|
-
when :DateTime
|
173
|
-
DateTime.parse(value)
|
174
|
-
when :Date
|
175
|
-
Date.parse(value)
|
176
|
-
when :String
|
177
|
-
value.to_s
|
178
|
-
when :Integer
|
179
|
-
value.to_i
|
180
|
-
when :Float
|
181
|
-
value.to_f
|
182
|
-
when :Boolean
|
183
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
184
|
-
true
|
185
|
-
else
|
186
|
-
false
|
187
|
-
end
|
188
|
-
when :Object
|
189
|
-
# generic object (usually a Hash), return directly
|
190
|
-
value
|
191
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
192
|
-
inner_type = Regexp.last_match[:inner_type]
|
193
|
-
value.map { |v| _deserialize(inner_type, v) }
|
194
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
195
|
-
k_type = Regexp.last_match[:k_type]
|
196
|
-
v_type = Regexp.last_match[:v_type]
|
197
|
-
{}.tap do |hash|
|
198
|
-
value.each do |k, v|
|
199
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
200
|
-
end
|
201
|
-
end
|
202
|
-
else # model
|
203
|
-
Shortcut.const_get(type).build_from_hash(value)
|
204
|
-
end
|
205
|
-
end
|
206
|
-
|
207
|
-
# Returns the string representation of the object
|
208
|
-
# @return [String] String presentation of the object
|
209
|
-
def to_s
|
210
|
-
to_hash.to_s
|
211
|
-
end
|
212
|
-
|
213
|
-
# to_body is an alias to to_hash (backward compatibility)
|
214
|
-
# @return [Hash] Returns the object in the form of hash
|
215
|
-
def to_body
|
216
|
-
to_hash
|
217
|
-
end
|
218
|
-
|
219
|
-
# Returns the object in the form of hash
|
220
|
-
# @return [Hash] Returns the object in the form of hash
|
221
|
-
def to_hash
|
222
|
-
hash = {}
|
223
|
-
self.class.attribute_map.each_pair do |attr, param|
|
224
|
-
value = self.send(attr)
|
225
|
-
if value.nil?
|
226
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
227
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
228
|
-
end
|
229
|
-
|
230
|
-
hash[param] = _to_hash(value)
|
231
|
-
end
|
232
|
-
hash
|
233
|
-
end
|
234
|
-
|
235
|
-
# Outputs non-array value in the form of hash
|
236
|
-
# For object, use to_hash. Otherwise, just return the value
|
237
|
-
# @param [Object] value Any valid value
|
238
|
-
# @return [Hash] Returns the value in the form of hash
|
239
|
-
def _to_hash(value)
|
240
|
-
if value.is_a?(Array)
|
241
|
-
value.compact.map { |v| _to_hash(v) }
|
242
|
-
elsif value.is_a?(Hash)
|
243
|
-
{}.tap do |hash|
|
244
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
245
|
-
end
|
246
|
-
elsif value.respond_to? :to_hash
|
247
|
-
value.to_hash
|
248
|
-
else
|
249
|
-
value
|
250
|
-
end
|
251
|
-
end end
|
252
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "lib/shortcut/client/ruby/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "shortcut-client-ruby"
|
7
|
-
spec.version = Shortcut::Client::Ruby::VERSION
|
8
|
-
spec.authors = ["ngouy"]
|
9
|
-
spec.email = ["nate@alleycorpnord.com"]
|
10
|
-
|
11
|
-
spec.summary = "TODO: Write a short summary, because RubyGems requires one."
|
12
|
-
spec.description = "TODO: Write a longer description or delete this line."
|
13
|
-
spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
14
|
-
spec.required_ruby_version = ">= 2.4.0"
|
15
|
-
|
16
|
-
spec.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
|
17
|
-
|
18
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
19
|
-
spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
20
|
-
spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
21
|
-
|
22
|
-
# Specify which files should be added to the gem when it is released.
|
23
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
25
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
26
|
-
end
|
27
|
-
spec.bindir = "exe"
|
28
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
29
|
-
spec.require_paths = ["lib"]
|
30
|
-
|
31
|
-
# Uncomment to register a new dependency of your gem
|
32
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
33
|
-
|
34
|
-
# For more information and examples about making a new gem, checkout our
|
35
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
36
|
-
end
|
data/spec/base_object_spec.rb
DELETED
@@ -1,109 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
class ArrayMapObject < Petstore::Category
|
4
|
-
attr_accessor :int_arr, :pet_arr, :int_map, :pet_map, :int_arr_map, :pet_arr_map, :boolean_true_arr, :boolean_false_arr
|
5
|
-
|
6
|
-
def self.attribute_map
|
7
|
-
{
|
8
|
-
:int_arr => :int_arr,
|
9
|
-
:pet_arr => :pet_arr,
|
10
|
-
:int_map => :int_map,
|
11
|
-
:pet_map => :pet_map,
|
12
|
-
:int_arr_map => :int_arr_map,
|
13
|
-
:pet_arr_map => :pet_arr_map,
|
14
|
-
:boolean_true_arr => :boolean_true_arr,
|
15
|
-
:boolean_false_arr => :boolean_false_arr,
|
16
|
-
}
|
17
|
-
end
|
18
|
-
|
19
|
-
def self.swagger_types
|
20
|
-
{
|
21
|
-
:int_arr => :'Array<Integer>',
|
22
|
-
:pet_arr => :'Array<Pet>',
|
23
|
-
:int_map => :'Hash<String, Integer>',
|
24
|
-
:pet_map => :'Hash<String, Pet>',
|
25
|
-
:int_arr_map => :'Hash<String, Array<Integer>>',
|
26
|
-
:pet_arr_map => :'Hash<String, Array<Pet>>',
|
27
|
-
:boolean_true_arr => :'Array<BOOLEAN>',
|
28
|
-
:boolean_false_arr => :'Array<BOOLEAN>',
|
29
|
-
}
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
describe 'BaseObject' do
|
34
|
-
describe 'boolean values' do
|
35
|
-
let(:obj) { Petstore::Cat.new({declawed: false}) }
|
36
|
-
|
37
|
-
it 'should have values set' do
|
38
|
-
expect(obj.declawed).not_to be_nil
|
39
|
-
expect(obj.declawed).to eq(false)
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe 'array and map properties' do
|
44
|
-
let(:obj) { ArrayMapObject.new }
|
45
|
-
|
46
|
-
let(:data) do
|
47
|
-
{int_arr: [123, 456],
|
48
|
-
pet_arr: [{name: 'Kitty'}],
|
49
|
-
int_map: {'int' => 123},
|
50
|
-
pet_map: {'pet' => {name: 'Kitty'}},
|
51
|
-
int_arr_map: {'int_arr' => [123, 456]},
|
52
|
-
pet_arr_map: {'pet_arr' => [{name: 'Kitty'}]},
|
53
|
-
boolean_true_arr: [true, "true", "TruE", 1, "y", "yes", "1", "t", "T"],
|
54
|
-
boolean_false_arr: [false, "", 0, "0", "f", nil, "null"],
|
55
|
-
}
|
56
|
-
end
|
57
|
-
|
58
|
-
it 'works for #build_from_hash' do
|
59
|
-
obj.build_from_hash(data)
|
60
|
-
|
61
|
-
expect(obj.int_arr).to match_array([123, 456])
|
62
|
-
|
63
|
-
expect(obj.pet_arr).to be_instance_of(Array)
|
64
|
-
expect(obj.pet_arr).to be_instance_of(1)
|
65
|
-
|
66
|
-
pet = obj.pet_arr.first
|
67
|
-
expect(pet).to be_instance_of(Petstore::Pet)
|
68
|
-
expect(pet.name).to eq('Kitty')
|
69
|
-
|
70
|
-
expect(obj.int_map).to be_instance_of(Hash)
|
71
|
-
expect(obj.int_map).to eq({'int' => 123})
|
72
|
-
|
73
|
-
expect(obj.pet_map).to be_instance_of(Hash)
|
74
|
-
pet = obj.pet_map['pet']
|
75
|
-
expect(pet).to be_instance_of(Petstore::Pet)
|
76
|
-
expect(pet.name).to eq('Kitty')
|
77
|
-
|
78
|
-
expect(obj.int_arr_map).to be_instance_of(Hash)
|
79
|
-
arr = obj.int_arr_map['int_arr']
|
80
|
-
expect(arr).to match_array([123, 456])
|
81
|
-
|
82
|
-
expect(obj.pet_arr_map).to be_instance_of(Hash)
|
83
|
-
arr = obj.pet_arr_map['pet_arr']
|
84
|
-
expect(arr).to be_instance_of(Array)
|
85
|
-
expect(arr.size).to eq(1)
|
86
|
-
pet = arr.first
|
87
|
-
expect(pet).to be_instance_of(Petstore::Pet)
|
88
|
-
expect(pet.name).to eq('Kitty')
|
89
|
-
|
90
|
-
expect(obj.boolean_true_arr).to be_instance_of(Array)
|
91
|
-
obj.boolean_true_arr.each do |b|
|
92
|
-
expect(b).to eq(true)
|
93
|
-
end
|
94
|
-
|
95
|
-
expect(obj.boolean_false_arr).to be_instance_of(Array)
|
96
|
-
obj.boolean_false_arr.each do |b|
|
97
|
-
expect(b).to eq(false)
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
it 'works for #to_hash' do
|
102
|
-
obj.build_from_hash(data)
|
103
|
-
expect_data = data.dup
|
104
|
-
expect_data[:boolean_true_arr].map! {true}
|
105
|
-
expect_data[:boolean_false_arr].map! {false}
|
106
|
-
expect(obj.to_hash).to eq(expect_data)
|
107
|
-
end
|
108
|
-
end
|
109
|
-
end
|
@@ -1,64 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Shortcut API
|
3
|
-
|
4
|
-
#Shortcut API
|
5
|
-
|
6
|
-
OpenAPI spec version: 3.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.35
|
10
|
-
=end
|
11
|
-
|
12
|
-
require 'spec_helper'
|
13
|
-
require 'json'
|
14
|
-
require 'date'
|
15
|
-
|
16
|
-
# Unit tests for Shortcut::V3FilesBody
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'V3FilesBody' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = Shortcut::V3FilesBody.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of V3FilesBody' do
|
30
|
-
it 'should create an instance of V3FilesBody' do
|
31
|
-
expect(@instance).to be_instance_of(Shortcut::V3FilesBody)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
describe 'test attribute "story_id"' do
|
35
|
-
it 'should work' do
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test attribute "file0"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
describe 'test attribute "file1"' do
|
47
|
-
it 'should work' do
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
describe 'test attribute "file2"' do
|
53
|
-
it 'should work' do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
describe 'test attribute "file3"' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
end
|