osuny_api 0.2.6 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +6 -7
- data/Gemfile.lock +55 -31
- data/README.md +1080 -17
- data/Rakefile +1 -1
- data/config.json +10 -0
- data/docs/AgendaCategoriesBody.md +7 -0
- data/docs/AgendaEventsBody.md +7 -0
- data/docs/CategoriesIdBody.md +7 -0
- data/docs/CategoriesIdBody1.md +7 -0
- data/docs/CategoriesIdBody2.md +7 -0
- data/docs/CategoriesUpsertBody.md +7 -0
- data/docs/CategoriesUpsertBody1.md +7 -0
- data/docs/CategoriesUpsertBody2.md +7 -0
- data/docs/CommunicationBlockAgenda.md +14 -0
- data/docs/CommunicationBlockAgendaData.md +20 -0
- data/docs/CommunicationBlockAgendaDataElements.md +7 -0
- data/docs/CommunicationBlockCallToAction.md +14 -0
- data/docs/CommunicationBlockCallToActionData.md +12 -0
- data/docs/CommunicationBlockCallToActionDataElements.md +9 -0
- data/docs/CommunicationBlockCallToActionDataImage.md +9 -0
- data/docs/CommunicationBlockCategories.md +14 -0
- data/docs/CommunicationBlockCategoriesData.md +13 -0
- data/docs/CommunicationBlockChapter.md +14 -0
- data/docs/CommunicationBlockChapterData.md +12 -0
- data/docs/CommunicationBlockContact.md +14 -0
- data/docs/CommunicationBlockContactData.md +27 -0
- data/docs/CommunicationBlockContactDataElements.md +9 -0
- data/docs/CommunicationBlockContactDataTimeSlotMorning.md +8 -0
- data/docs/CommunicationBlockDatatable.md +14 -0
- data/docs/CommunicationBlockDatatableData.md +11 -0
- data/docs/CommunicationBlockDatatableDataElements.md +7 -0
- data/docs/CommunicationBlockDefinitions.md +14 -0
- data/docs/CommunicationBlockDefinitionsData.md +8 -0
- data/docs/CommunicationBlockDefinitionsDataElements.md +8 -0
- data/docs/CommunicationBlockEmbed.md +14 -0
- data/docs/CommunicationBlockEmbedData.md +9 -0
- data/docs/CommunicationBlockFeatures.md +14 -0
- data/docs/CommunicationBlockFeaturesData.md +8 -0
- data/docs/CommunicationBlockFeaturesDataElements.md +11 -0
- data/docs/CommunicationBlockFiles.md +14 -0
- data/docs/CommunicationBlockFilesData.md +8 -0
- data/docs/CommunicationBlockFilesDataElements.md +9 -0
- data/docs/CommunicationBlockGallery.md +14 -0
- data/docs/CommunicationBlockGalleryData.md +9 -0
- data/docs/CommunicationBlockGalleryDataElements.md +10 -0
- data/docs/CommunicationBlockImage.md +14 -0
- data/docs/CommunicationBlockImageData.md +10 -0
- data/docs/CommunicationBlockKeyFigures.md +14 -0
- data/docs/CommunicationBlockKeyFiguresData.md +8 -0
- data/docs/CommunicationBlockKeyFiguresDataElements.md +10 -0
- data/docs/CommunicationBlockLicense.md +14 -0
- data/docs/CommunicationBlockLicenseData.md +12 -0
- data/docs/CommunicationBlockLinks.md +14 -0
- data/docs/CommunicationBlockLinksData.md +8 -0
- data/docs/CommunicationBlockLinksDataElements.md +11 -0
- data/docs/CommunicationBlockLocations.md +14 -0
- data/docs/CommunicationBlockLocationsData.md +10 -0
- data/docs/CommunicationBlockLocationsDataElements.md +7 -0
- data/docs/CommunicationBlockOrganizations.md +14 -0
- data/docs/CommunicationBlockOrganizationsData.md +15 -0
- data/docs/CommunicationBlockOrganizationsDataElements.md +10 -0
- data/docs/CommunicationBlockPages.md +14 -0
- data/docs/CommunicationBlockPagesData.md +15 -0
- data/docs/CommunicationBlockPapers.md +14 -0
- data/docs/CommunicationBlockPapersData.md +9 -0
- data/docs/CommunicationBlockPersons.md +14 -0
- data/docs/CommunicationBlockPersonsData.md +16 -0
- data/docs/CommunicationBlockPersonsDataElements.md +8 -0
- data/docs/CommunicationBlockPosts.md +14 -0
- data/docs/CommunicationBlockPostsData.md +18 -0
- data/docs/CommunicationBlockPrograms.md +14 -0
- data/docs/CommunicationBlockProgramsData.md +11 -0
- data/docs/CommunicationBlockProjects.md +14 -0
- data/docs/CommunicationBlockProjectsData.md +16 -0
- data/docs/CommunicationBlockSound.md +14 -0
- data/docs/CommunicationBlockSoundData.md +9 -0
- data/docs/CommunicationBlockTestimonials.md +14 -0
- data/docs/CommunicationBlockTestimonialsData.md +7 -0
- data/docs/CommunicationBlockTestimonialsDataElements.md +10 -0
- data/docs/CommunicationBlockTimeline.md +14 -0
- data/docs/CommunicationBlockTimelineData.md +8 -0
- data/docs/CommunicationBlockTimelineDataElements.md +8 -0
- data/docs/CommunicationBlockTitle.md +14 -0
- data/docs/CommunicationBlockTitleData.md +7 -0
- data/docs/CommunicationBlockVideo.md +14 -0
- data/docs/CommunicationBlockVideoData.md +11 -0
- data/docs/CommunicationBlockVolumes.md +14 -0
- data/docs/CommunicationWebsite.md +15 -0
- data/docs/CommunicationWebsiteAgendaCategory.md +14 -0
- data/docs/CommunicationWebsiteAgendaCategoryApi.md +329 -0
- data/docs/CommunicationWebsiteAgendaCategoryLocalization.md +17 -0
- data/docs/CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage.md +10 -0
- data/docs/CommunicationWebsiteAgendaEvent.md +18 -0
- data/docs/CommunicationWebsiteAgendaEventApi.md +329 -0
- data/docs/CommunicationWebsiteAgendaEventLocalization.md +25 -0
- data/docs/CommunicationWebsiteAgendaEventLocalizationAddToCalendarUrls.md +11 -0
- data/docs/CommunicationWebsiteAgendaEventTimeSlot.md +13 -0
- data/docs/CommunicationWebsiteAgendaEventTimeSlotLocalization.md +13 -0
- data/docs/CommunicationWebsiteApi.md +106 -0
- data/docs/CommunicationWebsiteDeuxfleurs.md +8 -0
- data/docs/CommunicationWebsiteFeatures.md +9 -0
- data/docs/CommunicationWebsiteGit.md +10 -0
- data/docs/CommunicationWebsiteLocalization.md +23 -0
- data/docs/CommunicationWebsitePage.md +17 -0
- data/docs/CommunicationWebsitePageApi.md +329 -0
- data/docs/CommunicationWebsitePageCategory.md +14 -0
- data/docs/CommunicationWebsitePageCategoryApi.md +329 -0
- data/docs/CommunicationWebsitePageCategoryLocalization.md +17 -0
- data/docs/CommunicationWebsitePageLocalization.md +24 -0
- data/docs/CommunicationWebsitePost.md +12 -0
- data/docs/CommunicationWebsitePostApi.md +329 -0
- data/docs/CommunicationWebsitePostLocalization.md +21 -0
- data/docs/CommunicationWebsiteShowcase.md +9 -0
- data/docs/CommunicationWebsiteShowcaseTags.md +9 -0
- data/docs/EventsIdBody.md +7 -0
- data/docs/EventsUpsertBody.md +7 -0
- data/docs/OneOfcommunicationWebsiteAgendaCategoryLocalizationBlocksItems.md +6 -0
- data/docs/OneOfcommunicationWebsiteAgendaEventLocalizationBlocksItems.md +6 -0
- data/docs/OneOfcommunicationWebsitePageCategoryLocalizationBlocksItems.md +6 -0
- data/docs/OneOfcommunicationWebsitePageLocalizationBlocksItems.md +6 -0
- data/docs/OneOfcommunicationWebsitePostLocalizationBlocksItems.md +6 -0
- data/docs/OneOfuniversityOrganizationCategoryLocalizationBlocksItems.md +6 -0
- data/docs/OneOfuniversityOrganizationLocalizationBlocksItems.md +6 -0
- data/docs/OrganizationsCategoriesBody.md +7 -0
- data/docs/OrganizationsIdBody.md +7 -0
- data/docs/OrganizationsUpsertBody.md +7 -0
- data/docs/PagesCategoriesBody.md +7 -0
- data/docs/PagesIdBody.md +7 -0
- data/docs/PagesUpsertBody.md +7 -0
- data/docs/PostsIdBody.md +7 -0
- data/docs/PostsUpsertBody.md +7 -0
- data/docs/UniversityOrganization.md +24 -0
- data/docs/UniversityOrganizationApi.md +314 -0
- data/docs/UniversityOrganizationCategory.md +14 -0
- data/docs/UniversityOrganizationCategoryApi.md +314 -0
- data/docs/UniversityOrganizationCategoryLocalization.md +16 -0
- data/docs/UniversityOrganizationLocalization.md +24 -0
- data/docs/UniversityOrganizationsBody.md +7 -0
- data/docs/WebsiteIdPagesBody.md +7 -0
- data/docs/WebsiteIdPostsBody.md +7 -0
- data/generate.sh +2 -0
- data/git_push.sh +55 -0
- data/lib/osuny_api/api/communication_website_agenda_category_api.rb +374 -0
- data/lib/osuny_api/api/communication_website_agenda_event_api.rb +374 -0
- data/lib/osuny_api/api/communication_website_api.rb +122 -0
- data/lib/osuny_api/api/communication_website_page_api.rb +374 -0
- data/lib/osuny_api/api/communication_website_page_category_api.rb +374 -0
- data/lib/osuny_api/api/communication_website_post_api.rb +374 -0
- data/lib/osuny_api/api/university_organization_api.rb +338 -0
- data/lib/osuny_api/api/university_organization_category_api.rb +338 -0
- data/lib/osuny_api/api_client.rb +388 -0
- data/lib/osuny_api/api_error.rb +57 -0
- data/lib/osuny_api/configuration.rb +205 -0
- data/lib/osuny_api/models/agenda_categories_body.rb +211 -0
- data/lib/osuny_api/models/agenda_events_body.rb +211 -0
- data/lib/osuny_api/models/categories_id_body.rb +211 -0
- data/lib/osuny_api/models/categories_id_body_1.rb +211 -0
- data/lib/osuny_api/models/categories_id_body_2.rb +211 -0
- data/lib/osuny_api/models/categories_upsert_body.rb +213 -0
- data/lib/osuny_api/models/categories_upsert_body_1.rb +213 -0
- data/lib/osuny_api/models/categories_upsert_body_2.rb +213 -0
- data/lib/osuny_api/models/communication_block_agenda.rb +312 -0
- data/lib/osuny_api/models/communication_block_agenda_data.rb +384 -0
- data/lib/osuny_api/models/communication_block_agenda_data_elements.rb +206 -0
- data/lib/osuny_api/models/communication_block_call_to_action.rb +312 -0
- data/lib/osuny_api/models/communication_block_call_to_action_data.rb +288 -0
- data/lib/osuny_api/models/communication_block_call_to_action_data_elements.rb +224 -0
- data/lib/osuny_api/models/communication_block_call_to_action_data_image.rb +227 -0
- data/lib/osuny_api/models/communication_block_categories.rb +312 -0
- data/lib/osuny_api/models/communication_block_categories_data.rb +307 -0
- data/lib/osuny_api/models/communication_block_chapter.rb +312 -0
- data/lib/osuny_api/models/communication_block_chapter_data.rb +286 -0
- data/lib/osuny_api/models/communication_block_contact.rb +312 -0
- data/lib/osuny_api/models/communication_block_contact_data.rb +393 -0
- data/lib/osuny_api/models/communication_block_contact_data_elements.rb +224 -0
- data/lib/osuny_api/models/communication_block_contact_data_time_slot_morning.rb +215 -0
- data/lib/osuny_api/models/communication_block_datatable.rb +312 -0
- data/lib/osuny_api/models/communication_block_datatable_data.rb +247 -0
- data/lib/osuny_api/models/communication_block_datatable_data_elements.rb +208 -0
- data/lib/osuny_api/models/communication_block_definitions.rb +312 -0
- data/lib/osuny_api/models/communication_block_definitions_data.rb +218 -0
- data/lib/osuny_api/models/communication_block_definitions_data_elements.rb +215 -0
- data/lib/osuny_api/models/communication_block_embed.rb +312 -0
- data/lib/osuny_api/models/communication_block_embed_data.rb +225 -0
- data/lib/osuny_api/models/communication_block_features.rb +312 -0
- data/lib/osuny_api/models/communication_block_features_data.rb +218 -0
- data/lib/osuny_api/models/communication_block_features_data_elements.rb +242 -0
- data/lib/osuny_api/models/communication_block_files.rb +312 -0
- data/lib/osuny_api/models/communication_block_files_data.rb +218 -0
- data/lib/osuny_api/models/communication_block_files_data_elements.rb +224 -0
- data/lib/osuny_api/models/communication_block_gallery.rb +312 -0
- data/lib/osuny_api/models/communication_block_gallery_data.rb +261 -0
- data/lib/osuny_api/models/communication_block_gallery_data_elements.rb +233 -0
- data/lib/osuny_api/models/communication_block_image.rb +312 -0
- data/lib/osuny_api/models/communication_block_image_data.rb +234 -0
- data/lib/osuny_api/models/communication_block_key_figures.rb +312 -0
- data/lib/osuny_api/models/communication_block_key_figures_data.rb +218 -0
- data/lib/osuny_api/models/communication_block_key_figures_data_elements.rb +233 -0
- data/lib/osuny_api/models/communication_block_license.rb +312 -0
- data/lib/osuny_api/models/communication_block_license_data.rb +334 -0
- data/lib/osuny_api/models/communication_block_links.rb +312 -0
- data/lib/osuny_api/models/communication_block_links_data.rb +218 -0
- data/lib/osuny_api/models/communication_block_links_data_elements.rb +242 -0
- data/lib/osuny_api/models/communication_block_locations.rb +312 -0
- data/lib/osuny_api/models/communication_block_locations_data.rb +270 -0
- data/lib/osuny_api/models/communication_block_locations_data_elements.rb +206 -0
- data/lib/osuny_api/models/communication_block_organizations.rb +312 -0
- data/lib/osuny_api/models/communication_block_organizations_data.rb +327 -0
- data/lib/osuny_api/models/communication_block_organizations_data_elements.rb +233 -0
- data/lib/osuny_api/models/communication_block_pages.rb +312 -0
- data/lib/osuny_api/models/communication_block_pages_data.rb +327 -0
- data/lib/osuny_api/models/communication_block_papers.rb +312 -0
- data/lib/osuny_api/models/communication_block_papers_data.rb +261 -0
- data/lib/osuny_api/models/communication_block_persons.rb +312 -0
- data/lib/osuny_api/models/communication_block_persons_data.rb +336 -0
- data/lib/osuny_api/models/communication_block_persons_data_elements.rb +215 -0
- data/lib/osuny_api/models/communication_block_posts.rb +312 -0
- data/lib/osuny_api/models/communication_block_posts_data.rb +354 -0
- data/lib/osuny_api/models/communication_block_programs.rb +312 -0
- data/lib/osuny_api/models/communication_block_programs_data.rb +279 -0
- data/lib/osuny_api/models/communication_block_projects.rb +312 -0
- data/lib/osuny_api/models/communication_block_projects_data.rb +336 -0
- data/lib/osuny_api/models/communication_block_sound.rb +312 -0
- data/lib/osuny_api/models/communication_block_sound_data.rb +225 -0
- data/lib/osuny_api/models/communication_block_testimonials.rb +312 -0
- data/lib/osuny_api/models/communication_block_testimonials_data.rb +209 -0
- data/lib/osuny_api/models/communication_block_testimonials_data_elements.rb +233 -0
- data/lib/osuny_api/models/communication_block_timeline.rb +312 -0
- data/lib/osuny_api/models/communication_block_timeline_data.rb +252 -0
- data/lib/osuny_api/models/communication_block_timeline_data_elements.rb +215 -0
- data/lib/osuny_api/models/communication_block_title.rb +312 -0
- data/lib/osuny_api/models/communication_block_title_data.rb +241 -0
- data/lib/osuny_api/models/communication_block_video.rb +312 -0
- data/lib/osuny_api/models/communication_block_video_data.rb +277 -0
- data/lib/osuny_api/models/communication_block_volumes.rb +312 -0
- data/lib/osuny_api/models/communication_website.rb +282 -0
- data/lib/osuny_api/models/communication_website_agenda_category.rb +274 -0
- data/lib/osuny_api/models/communication_website_agenda_category_localization.rb +302 -0
- data/lib/osuny_api/models/communication_website_agenda_category_localization_featured_image.rb +237 -0
- data/lib/osuny_api/models/communication_website_agenda_event.rb +315 -0
- data/lib/osuny_api/models/communication_website_agenda_event_localization.rb +380 -0
- data/lib/osuny_api/models/communication_website_agenda_event_localization_add_to_calendar_urls.rb +242 -0
- data/lib/osuny_api/models/communication_website_agenda_event_time_slot.rb +265 -0
- data/lib/osuny_api/models/communication_website_agenda_event_time_slot_localization.rb +263 -0
- data/lib/osuny_api/models/communication_website_deuxfleurs.rb +216 -0
- data/lib/osuny_api/models/communication_website_features.rb +224 -0
- data/lib/osuny_api/models/communication_website_git.rb +237 -0
- data/lib/osuny_api/models/communication_website_localization.rb +362 -0
- data/lib/osuny_api/models/communication_website_page.rb +306 -0
- data/lib/osuny_api/models/communication_website_page_category.rb +274 -0
- data/lib/osuny_api/models/communication_website_page_category_localization.rb +302 -0
- data/lib/osuny_api/models/communication_website_page_localization.rb +371 -0
- data/lib/osuny_api/models/communication_website_post.rb +255 -0
- data/lib/osuny_api/models/communication_website_post_localization.rb +341 -0
- data/lib/osuny_api/models/communication_website_showcase.rb +226 -0
- data/lib/osuny_api/models/communication_website_showcase_tags.rb +224 -0
- data/lib/osuny_api/models/events_id_body.rb +211 -0
- data/lib/osuny_api/models/events_upsert_body.rb +213 -0
- data/lib/osuny_api/models/one_ofcommunication_website_agenda_category_localization_blocks_items.rb +197 -0
- data/lib/osuny_api/models/one_ofcommunication_website_agenda_event_localization_blocks_items.rb +197 -0
- data/lib/osuny_api/models/one_ofcommunication_website_page_category_localization_blocks_items.rb +197 -0
- data/lib/osuny_api/models/one_ofcommunication_website_page_localization_blocks_items.rb +197 -0
- data/lib/osuny_api/models/one_ofcommunication_website_post_localization_blocks_items.rb +197 -0
- data/lib/osuny_api/models/one_ofuniversity_organization_category_localization_blocks_items.rb +197 -0
- data/lib/osuny_api/models/one_ofuniversity_organization_localization_blocks_items.rb +197 -0
- data/lib/osuny_api/models/organizations_categories_body.rb +211 -0
- data/lib/osuny_api/models/organizations_id_body.rb +211 -0
- data/lib/osuny_api/models/organizations_upsert_body.rb +213 -0
- data/lib/osuny_api/models/pages_categories_body.rb +211 -0
- data/lib/osuny_api/models/pages_id_body.rb +211 -0
- data/lib/osuny_api/models/pages_upsert_body.rb +213 -0
- data/lib/osuny_api/models/posts_id_body.rb +211 -0
- data/lib/osuny_api/models/posts_upsert_body.rb +213 -0
- data/lib/osuny_api/models/university_organization.rb +409 -0
- data/lib/osuny_api/models/university_organization_category.rb +274 -0
- data/lib/osuny_api/models/university_organization_category_localization.rb +292 -0
- data/lib/osuny_api/models/university_organization_localization.rb +373 -0
- data/lib/osuny_api/models/university_organizations_body.rb +211 -0
- data/lib/osuny_api/models/website_id_pages_body.rb +211 -0
- data/lib/osuny_api/models/website_id_posts_body.rb +211 -0
- data/lib/osuny_api/version.rb +11 -2
- data/lib/osuny_api.rb +165 -11
- data/osuny_api.gemspec +37 -30
- data/pkg/osuny_api-0.2.6.gem +0 -0
- data/pkg/osuny_api-1.0.0.gem +0 -0
- data/spec/api/communication_website_agenda_category_api_spec.rb +106 -0
- data/spec/api/communication_website_agenda_event_api_spec.rb +106 -0
- data/spec/api/communication_website_api_spec.rb +55 -0
- data/spec/api/communication_website_page_api_spec.rb +106 -0
- data/spec/api/communication_website_page_category_api_spec.rb +106 -0
- data/spec/api/communication_website_post_api_spec.rb +106 -0
- data/spec/api/university_organization_api_spec.rb +100 -0
- data/spec/api/university_organization_category_api_spec.rb +100 -0
- data/spec/api_client_spec.rb +225 -0
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +41 -0
- data/spec/models/agenda_categories_body_spec.rb +40 -0
- data/spec/models/agenda_events_body_spec.rb +40 -0
- data/spec/models/categories_id_body_1_spec.rb +40 -0
- data/spec/models/categories_id_body_2_spec.rb +40 -0
- data/spec/models/categories_id_body_spec.rb +40 -0
- data/spec/models/categories_upsert_body_1_spec.rb +40 -0
- data/spec/models/categories_upsert_body_2_spec.rb +40 -0
- data/spec/models/categories_upsert_body_spec.rb +40 -0
- data/spec/models/communication_block_agenda_data_elements_spec.rb +40 -0
- data/spec/models/communication_block_agenda_data_spec.rb +130 -0
- data/spec/models/communication_block_agenda_spec.rb +86 -0
- data/spec/models/communication_block_call_to_action_data_elements_spec.rb +52 -0
- data/spec/models/communication_block_call_to_action_data_image_spec.rb +52 -0
- data/spec/models/communication_block_call_to_action_data_spec.rb +74 -0
- data/spec/models/communication_block_call_to_action_spec.rb +86 -0
- data/spec/models/communication_block_categories_data_spec.rb +84 -0
- data/spec/models/communication_block_categories_spec.rb +86 -0
- data/spec/models/communication_block_chapter_data_spec.rb +74 -0
- data/spec/models/communication_block_chapter_spec.rb +86 -0
- data/spec/models/communication_block_contact_data_elements_spec.rb +52 -0
- data/spec/models/communication_block_contact_data_spec.rb +160 -0
- data/spec/models/communication_block_contact_data_time_slot_morning_spec.rb +46 -0
- data/spec/models/communication_block_contact_spec.rb +86 -0
- data/spec/models/communication_block_datatable_data_elements_spec.rb +40 -0
- data/spec/models/communication_block_datatable_data_spec.rb +64 -0
- data/spec/models/communication_block_datatable_spec.rb +86 -0
- data/spec/models/communication_block_definitions_data_elements_spec.rb +46 -0
- data/spec/models/communication_block_definitions_data_spec.rb +46 -0
- data/spec/models/communication_block_definitions_spec.rb +86 -0
- data/spec/models/communication_block_embed_data_spec.rb +52 -0
- data/spec/models/communication_block_embed_spec.rb +86 -0
- data/spec/models/communication_block_features_data_elements_spec.rb +64 -0
- data/spec/models/communication_block_features_data_spec.rb +46 -0
- data/spec/models/communication_block_features_spec.rb +86 -0
- data/spec/models/communication_block_files_data_elements_spec.rb +52 -0
- data/spec/models/communication_block_files_data_spec.rb +46 -0
- data/spec/models/communication_block_files_spec.rb +86 -0
- data/spec/models/communication_block_gallery_data_elements_spec.rb +58 -0
- data/spec/models/communication_block_gallery_data_spec.rb +56 -0
- data/spec/models/communication_block_gallery_spec.rb +86 -0
- data/spec/models/communication_block_image_data_spec.rb +58 -0
- data/spec/models/communication_block_image_spec.rb +86 -0
- data/spec/models/communication_block_key_figures_data_elements_spec.rb +58 -0
- data/spec/models/communication_block_key_figures_data_spec.rb +46 -0
- data/spec/models/communication_block_key_figures_spec.rb +86 -0
- data/spec/models/communication_block_license_data_spec.rb +90 -0
- data/spec/models/communication_block_license_spec.rb +86 -0
- data/spec/models/communication_block_links_data_elements_spec.rb +64 -0
- data/spec/models/communication_block_links_data_spec.rb +46 -0
- data/spec/models/communication_block_links_spec.rb +86 -0
- data/spec/models/communication_block_locations_data_elements_spec.rb +40 -0
- data/spec/models/communication_block_locations_data_spec.rb +62 -0
- data/spec/models/communication_block_locations_spec.rb +86 -0
- data/spec/models/communication_block_organizations_data_elements_spec.rb +58 -0
- data/spec/models/communication_block_organizations_data_spec.rb +96 -0
- data/spec/models/communication_block_organizations_spec.rb +86 -0
- data/spec/models/communication_block_pages_data_spec.rb +96 -0
- data/spec/models/communication_block_pages_spec.rb +86 -0
- data/spec/models/communication_block_papers_data_spec.rb +56 -0
- data/spec/models/communication_block_papers_spec.rb +86 -0
- data/spec/models/communication_block_persons_data_elements_spec.rb +46 -0
- data/spec/models/communication_block_persons_data_spec.rb +102 -0
- data/spec/models/communication_block_persons_spec.rb +86 -0
- data/spec/models/communication_block_posts_data_spec.rb +114 -0
- data/spec/models/communication_block_posts_spec.rb +86 -0
- data/spec/models/communication_block_programs_data_spec.rb +68 -0
- data/spec/models/communication_block_programs_spec.rb +86 -0
- data/spec/models/communication_block_projects_data_spec.rb +102 -0
- data/spec/models/communication_block_projects_spec.rb +86 -0
- data/spec/models/communication_block_sound_data_spec.rb +52 -0
- data/spec/models/communication_block_sound_spec.rb +86 -0
- data/spec/models/communication_block_testimonials_data_elements_spec.rb +58 -0
- data/spec/models/communication_block_testimonials_data_spec.rb +40 -0
- data/spec/models/communication_block_testimonials_spec.rb +86 -0
- data/spec/models/communication_block_timeline_data_elements_spec.rb +46 -0
- data/spec/models/communication_block_timeline_data_spec.rb +50 -0
- data/spec/models/communication_block_timeline_spec.rb +86 -0
- data/spec/models/communication_block_title_data_spec.rb +44 -0
- data/spec/models/communication_block_title_spec.rb +86 -0
- data/spec/models/communication_block_video_data_spec.rb +68 -0
- data/spec/models/communication_block_video_spec.rb +86 -0
- data/spec/models/communication_block_volumes_spec.rb +86 -0
- data/spec/models/communication_website_agenda_category_localization_featured_image_spec.rb +58 -0
- data/spec/models/communication_website_agenda_category_localization_spec.rb +100 -0
- data/spec/models/communication_website_agenda_category_spec.rb +82 -0
- data/spec/models/communication_website_agenda_event_localization_add_to_calendar_urls_spec.rb +64 -0
- data/spec/models/communication_website_agenda_event_localization_spec.rb +148 -0
- data/spec/models/communication_website_agenda_event_spec.rb +106 -0
- data/spec/models/communication_website_agenda_event_time_slot_localization_spec.rb +76 -0
- data/spec/models/communication_website_agenda_event_time_slot_spec.rb +76 -0
- data/spec/models/communication_website_deuxfleurs_spec.rb +46 -0
- data/spec/models/communication_website_features_spec.rb +52 -0
- data/spec/models/communication_website_git_spec.rb +58 -0
- data/spec/models/communication_website_localization_spec.rb +136 -0
- data/spec/models/communication_website_page_category_localization_spec.rb +100 -0
- data/spec/models/communication_website_page_category_spec.rb +82 -0
- data/spec/models/communication_website_page_localization_spec.rb +142 -0
- data/spec/models/communication_website_page_spec.rb +100 -0
- data/spec/models/communication_website_post_localization_spec.rb +124 -0
- data/spec/models/communication_website_post_spec.rb +70 -0
- data/spec/models/communication_website_showcase_spec.rb +52 -0
- data/spec/models/communication_website_showcase_tags_spec.rb +52 -0
- data/spec/models/communication_website_spec.rb +88 -0
- data/spec/models/events_id_body_spec.rb +40 -0
- data/spec/models/events_upsert_body_spec.rb +40 -0
- data/spec/models/one_ofcommunication_website_agenda_category_localization_blocks_items_spec.rb +34 -0
- data/spec/models/one_ofcommunication_website_agenda_event_localization_blocks_items_spec.rb +34 -0
- data/spec/models/one_ofcommunication_website_page_category_localization_blocks_items_spec.rb +34 -0
- data/spec/models/one_ofcommunication_website_page_localization_blocks_items_spec.rb +34 -0
- data/spec/models/one_ofcommunication_website_post_localization_blocks_items_spec.rb +34 -0
- data/spec/models/one_ofuniversity_organization_category_localization_blocks_items_spec.rb +34 -0
- data/spec/models/one_ofuniversity_organization_localization_blocks_items_spec.rb +34 -0
- data/spec/models/organizations_categories_body_spec.rb +40 -0
- data/spec/models/organizations_id_body_spec.rb +40 -0
- data/spec/models/organizations_upsert_body_spec.rb +40 -0
- data/spec/models/pages_categories_body_spec.rb +40 -0
- data/spec/models/pages_id_body_spec.rb +40 -0
- data/spec/models/pages_upsert_body_spec.rb +40 -0
- data/spec/models/posts_id_body_spec.rb +40 -0
- data/spec/models/posts_upsert_body_spec.rb +40 -0
- data/spec/models/university_organization_category_localization_spec.rb +94 -0
- data/spec/models/university_organization_category_spec.rb +82 -0
- data/spec/models/university_organization_localization_spec.rb +142 -0
- data/spec/models/university_organization_spec.rb +146 -0
- data/spec/models/university_organizations_body_spec.rb +40 -0
- data/spec/models/website_id_pages_body_spec.rb +40 -0
- data/spec/models/website_id_posts_body_spec.rb +40 -0
- data/spec/spec_helper.rb +110 -0
- metadata +614 -24
- data/lib/osuny_api/client.rb +0 -41
- data/lib/osuny_api/communication/website/page.rb +0 -12
- data/lib/osuny_api/communication/website/post.rb +0 -12
- data/lib/osuny_api/communication/website.rb +0 -18
- data/lib/osuny_api/communication.rb +0 -13
- data/lib/osuny_api/error.rb +0 -4
- data/lib/osuny_api/resource.rb +0 -20
data/osuny_api.gemspec
CHANGED
@@ -1,31 +1,38 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
=begin
|
4
|
+
#Osuny
|
5
|
+
|
6
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
7
|
+
|
8
|
+
OpenAPI spec version: v1
|
9
|
+
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
+
Swagger Codegen version: 3.0.68
|
12
|
+
=end
|
13
|
+
|
14
|
+
$:.push File.expand_path("../lib", __FILE__)
|
15
|
+
require "osuny_api/version"
|
16
|
+
|
17
|
+
Gem::Specification.new do |s|
|
18
|
+
s.name = "osuny_api"
|
19
|
+
s.version = OsunyApi::VERSION
|
20
|
+
s.platform = Gem::Platform::RUBY
|
21
|
+
s.authors = ["Arnaud Levy", "Sébastien Gaya"]
|
22
|
+
s.email = ["contact@arnaudlevy.com", "sebastien.gaya@gmail.com"]
|
23
|
+
s.homepage = "https://www.github.com/osunyorg/api"
|
24
|
+
s.summary = "Osuny Ruby Gem"
|
25
|
+
s.description = "Ruby Gem for the Osuny API"
|
26
|
+
s.license = 'MIT'
|
27
|
+
s.required_ruby_version = ">= 1.9"
|
28
|
+
|
29
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
30
|
+
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
31
|
+
|
32
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
33
|
+
|
34
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
35
|
+
s.test_files = `find spec/*`.split("\n")
|
36
|
+
s.executables = []
|
37
|
+
s.require_paths = ["lib"]
|
31
38
|
end
|
Binary file
|
Binary file
|
@@ -0,0 +1,106 @@
|
|
1
|
+
=begin
|
2
|
+
#Osuny
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.68
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
|
15
|
+
# Unit tests for OsunyApi::CommunicationWebsiteAgendaCategoryApi
|
16
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
17
|
+
# Please update as you see appropriate
|
18
|
+
describe 'CommunicationWebsiteAgendaCategoryApi' do
|
19
|
+
before do
|
20
|
+
# run before each test
|
21
|
+
@instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
|
22
|
+
end
|
23
|
+
|
24
|
+
after do
|
25
|
+
# run after each test
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'test an instance of CommunicationWebsiteAgendaCategoryApi' do
|
29
|
+
it 'should create an instance of CommunicationWebsiteAgendaCategoryApi' do
|
30
|
+
expect(@instance).to be_instance_of(OsunyApi::CommunicationWebsiteAgendaCategoryApi)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# unit tests for communication_websites_website_id_agenda_categories_get
|
35
|
+
# Lists a website's agenda categories
|
36
|
+
# @param website_id Website identifier
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<CommunicationWebsiteAgendaCategory>]
|
39
|
+
describe 'communication_websites_website_id_agenda_categories_get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# unit tests for communication_websites_website_id_agenda_categories_id_delete
|
46
|
+
# Deletes an agenda category
|
47
|
+
# @param website_id Website identifier
|
48
|
+
# @param id Category identifier
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @return [nil]
|
51
|
+
describe 'communication_websites_website_id_agenda_categories_id_delete test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for communication_websites_website_id_agenda_categories_id_get
|
58
|
+
# Shows an agenda category
|
59
|
+
# @param website_id Website identifier
|
60
|
+
# @param id Category identifier
|
61
|
+
# @param [Hash] opts the optional parameters
|
62
|
+
# @return [nil]
|
63
|
+
describe 'communication_websites_website_id_agenda_categories_id_get test' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# unit tests for communication_websites_website_id_agenda_categories_id_patch
|
70
|
+
# Updates an agenda category
|
71
|
+
# @param website_id Website identifier
|
72
|
+
# @param id Category identifier
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [CategoriesIdBody] :body
|
75
|
+
# @return [nil]
|
76
|
+
describe 'communication_websites_website_id_agenda_categories_id_patch test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for communication_websites_website_id_agenda_categories_post
|
83
|
+
# Creates an agenda category
|
84
|
+
# @param website_id Website identifier
|
85
|
+
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [AgendaCategoriesBody] :body
|
87
|
+
# @return [nil]
|
88
|
+
describe 'communication_websites_website_id_agenda_categories_post test' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# unit tests for communication_websites_website_id_agenda_categories_upsert_post
|
95
|
+
# Upsert agenda categories
|
96
|
+
# @param website_id Website identifier
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [CategoriesUpsertBody] :body
|
99
|
+
# @return [nil]
|
100
|
+
describe 'communication_websites_website_id_agenda_categories_upsert_post test' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
@@ -0,0 +1,106 @@
|
|
1
|
+
=begin
|
2
|
+
#Osuny
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.68
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
|
15
|
+
# Unit tests for OsunyApi::CommunicationWebsiteAgendaEventApi
|
16
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
17
|
+
# Please update as you see appropriate
|
18
|
+
describe 'CommunicationWebsiteAgendaEventApi' do
|
19
|
+
before do
|
20
|
+
# run before each test
|
21
|
+
@instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
|
22
|
+
end
|
23
|
+
|
24
|
+
after do
|
25
|
+
# run after each test
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'test an instance of CommunicationWebsiteAgendaEventApi' do
|
29
|
+
it 'should create an instance of CommunicationWebsiteAgendaEventApi' do
|
30
|
+
expect(@instance).to be_instance_of(OsunyApi::CommunicationWebsiteAgendaEventApi)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# unit tests for communication_websites_website_id_agenda_events_get
|
35
|
+
# Lists a website's events
|
36
|
+
# @param website_id Website identifier
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<CommunicationWebsiteAgendaEvent>]
|
39
|
+
describe 'communication_websites_website_id_agenda_events_get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# unit tests for communication_websites_website_id_agenda_events_id_delete
|
46
|
+
# Deletes an event
|
47
|
+
# @param website_id Website identifier
|
48
|
+
# @param id Event identifier
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @return [nil]
|
51
|
+
describe 'communication_websites_website_id_agenda_events_id_delete test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for communication_websites_website_id_agenda_events_id_get
|
58
|
+
# Shows an event
|
59
|
+
# @param website_id Website identifier
|
60
|
+
# @param id Event identifier
|
61
|
+
# @param [Hash] opts the optional parameters
|
62
|
+
# @return [nil]
|
63
|
+
describe 'communication_websites_website_id_agenda_events_id_get test' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# unit tests for communication_websites_website_id_agenda_events_id_patch
|
70
|
+
# Updates an event
|
71
|
+
# @param website_id Website identifier
|
72
|
+
# @param id Event identifier
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [EventsIdBody] :body
|
75
|
+
# @return [nil]
|
76
|
+
describe 'communication_websites_website_id_agenda_events_id_patch test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for communication_websites_website_id_agenda_events_post
|
83
|
+
# Creates an event
|
84
|
+
# @param website_id Website identifier
|
85
|
+
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [AgendaEventsBody] :body
|
87
|
+
# @return [nil]
|
88
|
+
describe 'communication_websites_website_id_agenda_events_post test' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# unit tests for communication_websites_website_id_agenda_events_upsert_post
|
95
|
+
# Upsert events
|
96
|
+
# @param website_id Website identifier
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [EventsUpsertBody] :body
|
99
|
+
# @return [nil]
|
100
|
+
describe 'communication_websites_website_id_agenda_events_upsert_post test' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
=begin
|
2
|
+
#Osuny
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.68
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
|
15
|
+
# Unit tests for OsunyApi::CommunicationWebsiteApi
|
16
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
17
|
+
# Please update as you see appropriate
|
18
|
+
describe 'CommunicationWebsiteApi' do
|
19
|
+
before do
|
20
|
+
# run before each test
|
21
|
+
@instance = OsunyApi::CommunicationWebsiteApi.new
|
22
|
+
end
|
23
|
+
|
24
|
+
after do
|
25
|
+
# run after each test
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'test an instance of CommunicationWebsiteApi' do
|
29
|
+
it 'should create an instance of CommunicationWebsiteApi' do
|
30
|
+
expect(@instance).to be_instance_of(OsunyApi::CommunicationWebsiteApi)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# unit tests for communication_websites_get
|
35
|
+
# Lists the websites
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<CommunicationWebsite>]
|
38
|
+
describe 'communication_websites_get test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for communication_websites_id_get
|
45
|
+
# Shows a website
|
46
|
+
# @param id Website identifier
|
47
|
+
# @param [Hash] opts the optional parameters
|
48
|
+
# @return [CommunicationWebsite]
|
49
|
+
describe 'communication_websites_id_get test' do
|
50
|
+
it 'should work' do
|
51
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
@@ -0,0 +1,106 @@
|
|
1
|
+
=begin
|
2
|
+
#Osuny
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.68
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
|
15
|
+
# Unit tests for OsunyApi::CommunicationWebsitePageApi
|
16
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
17
|
+
# Please update as you see appropriate
|
18
|
+
describe 'CommunicationWebsitePageApi' do
|
19
|
+
before do
|
20
|
+
# run before each test
|
21
|
+
@instance = OsunyApi::CommunicationWebsitePageApi.new
|
22
|
+
end
|
23
|
+
|
24
|
+
after do
|
25
|
+
# run after each test
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'test an instance of CommunicationWebsitePageApi' do
|
29
|
+
it 'should create an instance of CommunicationWebsitePageApi' do
|
30
|
+
expect(@instance).to be_instance_of(OsunyApi::CommunicationWebsitePageApi)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# unit tests for communication_websites_website_id_pages_get
|
35
|
+
# Lists a website's pages
|
36
|
+
# @param website_id Website identifier
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<CommunicationWebsitePage>]
|
39
|
+
describe 'communication_websites_website_id_pages_get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# unit tests for communication_websites_website_id_pages_id_delete
|
46
|
+
# Deletes a page
|
47
|
+
# @param website_id Website identifier
|
48
|
+
# @param id Page identifier
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @return [nil]
|
51
|
+
describe 'communication_websites_website_id_pages_id_delete test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for communication_websites_website_id_pages_id_get
|
58
|
+
# Shows a page
|
59
|
+
# @param website_id Website identifier
|
60
|
+
# @param id Page identifier
|
61
|
+
# @param [Hash] opts the optional parameters
|
62
|
+
# @return [nil]
|
63
|
+
describe 'communication_websites_website_id_pages_id_get test' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# unit tests for communication_websites_website_id_pages_id_patch
|
70
|
+
# Updates a page
|
71
|
+
# @param website_id Website identifier
|
72
|
+
# @param id Page identifier
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [PagesIdBody] :body
|
75
|
+
# @return [nil]
|
76
|
+
describe 'communication_websites_website_id_pages_id_patch test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for communication_websites_website_id_pages_post
|
83
|
+
# Creates a page
|
84
|
+
# @param website_id Website identifier
|
85
|
+
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [WebsiteIdPagesBody] :body
|
87
|
+
# @return [nil]
|
88
|
+
describe 'communication_websites_website_id_pages_post test' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# unit tests for communication_websites_website_id_pages_upsert_post
|
95
|
+
# Upsert pages
|
96
|
+
# @param website_id Website identifier
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [PagesUpsertBody] :body
|
99
|
+
# @return [nil]
|
100
|
+
describe 'communication_websites_website_id_pages_upsert_post test' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
@@ -0,0 +1,106 @@
|
|
1
|
+
=begin
|
2
|
+
#Osuny
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.68
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
|
15
|
+
# Unit tests for OsunyApi::CommunicationWebsitePageCategoryApi
|
16
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
17
|
+
# Please update as you see appropriate
|
18
|
+
describe 'CommunicationWebsitePageCategoryApi' do
|
19
|
+
before do
|
20
|
+
# run before each test
|
21
|
+
@instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
|
22
|
+
end
|
23
|
+
|
24
|
+
after do
|
25
|
+
# run after each test
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'test an instance of CommunicationWebsitePageCategoryApi' do
|
29
|
+
it 'should create an instance of CommunicationWebsitePageCategoryApi' do
|
30
|
+
expect(@instance).to be_instance_of(OsunyApi::CommunicationWebsitePageCategoryApi)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# unit tests for communication_websites_website_id_pages_categories_get
|
35
|
+
# Lists a website's page categories
|
36
|
+
# @param website_id Website identifier
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<CommunicationWebsitePageCategory>]
|
39
|
+
describe 'communication_websites_website_id_pages_categories_get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# unit tests for communication_websites_website_id_pages_categories_id_delete
|
46
|
+
# Deletes a page category
|
47
|
+
# @param website_id Website identifier
|
48
|
+
# @param id Category identifier
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @return [nil]
|
51
|
+
describe 'communication_websites_website_id_pages_categories_id_delete test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for communication_websites_website_id_pages_categories_id_get
|
58
|
+
# Shows a page category
|
59
|
+
# @param website_id Website identifier
|
60
|
+
# @param id Category identifier
|
61
|
+
# @param [Hash] opts the optional parameters
|
62
|
+
# @return [nil]
|
63
|
+
describe 'communication_websites_website_id_pages_categories_id_get test' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# unit tests for communication_websites_website_id_pages_categories_id_patch
|
70
|
+
# Updates a page category
|
71
|
+
# @param website_id Website identifier
|
72
|
+
# @param id Category identifier
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [CategoriesIdBody1] :body
|
75
|
+
# @return [nil]
|
76
|
+
describe 'communication_websites_website_id_pages_categories_id_patch test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for communication_websites_website_id_pages_categories_post
|
83
|
+
# Creates a page category
|
84
|
+
# @param website_id Website identifier
|
85
|
+
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [PagesCategoriesBody] :body
|
87
|
+
# @return [nil]
|
88
|
+
describe 'communication_websites_website_id_pages_categories_post test' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# unit tests for communication_websites_website_id_pages_categories_upsert_post
|
95
|
+
# Upsert page categories
|
96
|
+
# @param website_id Website identifier
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [CategoriesUpsertBody1] :body
|
99
|
+
# @return [nil]
|
100
|
+
describe 'communication_websites_website_id_pages_categories_upsert_post test' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
@@ -0,0 +1,106 @@
|
|
1
|
+
=begin
|
2
|
+
#Osuny
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.68
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
|
15
|
+
# Unit tests for OsunyApi::CommunicationWebsitePostApi
|
16
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
17
|
+
# Please update as you see appropriate
|
18
|
+
describe 'CommunicationWebsitePostApi' do
|
19
|
+
before do
|
20
|
+
# run before each test
|
21
|
+
@instance = OsunyApi::CommunicationWebsitePostApi.new
|
22
|
+
end
|
23
|
+
|
24
|
+
after do
|
25
|
+
# run after each test
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'test an instance of CommunicationWebsitePostApi' do
|
29
|
+
it 'should create an instance of CommunicationWebsitePostApi' do
|
30
|
+
expect(@instance).to be_instance_of(OsunyApi::CommunicationWebsitePostApi)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# unit tests for communication_websites_website_id_posts_get
|
35
|
+
# Lists a website's posts
|
36
|
+
# @param website_id Website identifier
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<CommunicationWebsitePost>]
|
39
|
+
describe 'communication_websites_website_id_posts_get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# unit tests for communication_websites_website_id_posts_id_delete
|
46
|
+
# Deletes a post
|
47
|
+
# @param website_id Website identifier
|
48
|
+
# @param id Post identifier
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @return [nil]
|
51
|
+
describe 'communication_websites_website_id_posts_id_delete test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for communication_websites_website_id_posts_id_get
|
58
|
+
# Shows a post
|
59
|
+
# @param website_id Website identifier
|
60
|
+
# @param id Post identifier
|
61
|
+
# @param [Hash] opts the optional parameters
|
62
|
+
# @return [nil]
|
63
|
+
describe 'communication_websites_website_id_posts_id_get test' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# unit tests for communication_websites_website_id_posts_id_patch
|
70
|
+
# Updates a post
|
71
|
+
# @param website_id Website identifier
|
72
|
+
# @param id Post identifier
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [PostsIdBody] :body
|
75
|
+
# @return [nil]
|
76
|
+
describe 'communication_websites_website_id_posts_id_patch test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for communication_websites_website_id_posts_post
|
83
|
+
# Creates a post
|
84
|
+
# @param website_id Website identifier
|
85
|
+
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [WebsiteIdPostsBody] :body
|
87
|
+
# @return [nil]
|
88
|
+
describe 'communication_websites_website_id_posts_post test' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# unit tests for communication_websites_website_id_posts_upsert_post
|
95
|
+
# Upsert posts
|
96
|
+
# @param website_id Website identifier
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [PostsUpsertBody] :body
|
99
|
+
# @return [nil]
|
100
|
+
describe 'communication_websites_website_id_posts_upsert_post test' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|