{"id":1928,"date":"2017-01-27T08:40:03","date_gmt":"2017-01-27T08:40:03","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=1928"},"modified":"2021-01-08T15:14:22","modified_gmt":"2021-01-08T09:44:22","slug":"omnivore-api-ruby-rails","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/","title":{"rendered":"Installing Omnivore API in Ruby on Rails Application"},"content":{"rendered":"\n<p>Omnivore API provides the universal Point of Sale (POS) API. It gives you access to every action and detail of the point of sale system in a restaurant. This includes menu information, orders, payments, tips, server and table information and historical sales data. You can find more details on omnivore&nbsp;<a href=\"http:\/\/omnivore.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">here.<\/a><\/p>\n\n\n\n<p>Omnivore&#8217;s cloud-based&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/development-tools\" target=\"_blank\" rel=\"noopener noreferrer\">development platform<\/a>&nbsp;enables a single integration through our API, seamlessly facilitating the connections to POS systems now and into the future. By lowering the <a href=\"https:\/\/www.botreetechnologies.com\/application-integration\" target=\"_blank\" rel=\"noopener noreferrer\">technology integration<\/a> barriers for app developers, Omnivore simplifies the process for restaurants to test and evaluate new technologies through a proven interface installed on their POS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/pos.png\" alt=\"Omnivore - pos\" class=\"wp-image-13903\" width=\"750\" height=\"670\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/pos.png 1000w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/pos-300x268.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/pos-768x686.png 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Setup Omnivore&nbsp;App<\/h2>\n\n\n\n<p>You can register on Omnivore using your Github account or by providing email address and other details. so let&#8217;s first create an account. Click&nbsp;<a href=\"https:\/\/panel.omnivore.io\/register\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-href=\"https:\/\/panel.omnivore.io\/register\/\">here<\/a>&nbsp;to register.<\/p>\n\n\n\n<p>Once you get registered, you can see screen similar to below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/omnivore.png\" alt=\"omnivore rest api\" class=\"wp-image-13904\" width=\"750\" height=\"199\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/omnivore.png 1000w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/omnivore-300x80.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/omnivore-768x204.png 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>Click on the Applications link from the menu and you will find one demo application ready for use. You can also create your own application here. Inside API tools, you can trace your API activity with POS and you can test your requests and response on API console.<\/p>\n\n\n\n<p>Here we are going to use this Virtual POS location. We have to use the location ID in each request, so note it down first. Now let&#8217;s move to the API console. You can simulate all requests mentioned&nbsp;<a href=\"https:\/\/panel.omnivore.io\/docs\/guides\/getting_started\/using_the_virtual_pos\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>&nbsp;in your API console. It will respond based on the current virtual POS data.<\/p>\n\n\n\n<p>Go to your demo application and note down the API key. You can find it at&nbsp;<b>applications &gt; API keys &gt; [Your development API key]<\/b>. We will use default development key here.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/api-key.png\" alt=\"api key\" class=\"wp-image-13905\" width=\"746\" height=\"237\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/api-key.png 994w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/api-key-300x95.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/api-key-768x244.png 768w\" sizes=\"auto, (max-width: 746px) 100vw, 746px\" \/><\/figure>\n\n\n\n<p><i>As you can see it provides different API key for accessing different version API so make sure that you are using the correct version of API key with that version of API.<\/i><\/p>\n\n\n\n<p>Now, we have our account on Omnivore and an application with API key so let&#8217;s move to the Rails part.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Integrate with Rails&nbsp;App<\/h3>\n\n\n\n<p>Create a new <a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\">Rails application<\/a> first. We are going to access Omnivore API through HTTP requests so we need to add gem HTTParty.<\/p>\n\n\n\n<p>Add below line to your gemfile and do bundle install.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>gem 'httparty'<\/code><\/p><\/blockquote>\n\n\n\n<p>To enable bootstrap css, you can also add&nbsp;<b>bootstrap-sass<\/b>&nbsp;gem in it.<\/p>\n\n\n\n<p>First of all, we will display all the available items to user so that one can choose and buy. We will restrict the user to buy only one item at a time for this demo version but you can implement a cart and do same.<\/p>\n\n\n\n<p>Now, create a tickets controller and an action to fetch all the items and display them. Before that, let&#8217;s create a base_url method so that we don&#8217;t need to write base URL every time on the HTTP call.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NishantUpadhyay-BTC\/45ff40850b59db5ad01243e0b1b574c7.js\"><\/script><\/p>\n\n\n\n<p>Now lets create a method which brings all the menu items for us.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NishantUpadhyay-BTC\/df11caa9128f28cecb770208524af552.js\"><\/script><\/p>\n\n\n\n<p>We will also add a link to buy that food item. To identify each item, we will pass item id and price level id which is required to decide it&#8217;s price while generating a ticket.<\/p>\n\n\n\n<p>Now, Let&#8217;s create a method to handle the order request.<\/p>\n\n\n\n<p>Omnivore has APIs to open a ticket, then to add items to that ticket and at last to make the payment. If payment is successful, then the ticket status will be closed otherwise it will remain open.<\/p>\n\n\n\n<p>We need a few details like location id, employee id, order type id, revenue center id, table id to open a ticket. You can make all these things dynamic by making different API calls but in this demo we are using some static values. Here is the code to open a ticket.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NishantUpadhyay-BTC\/d37b1cc2bcfe1118da2c4fe8f67d23b2.js\"><\/script><\/p>\n\n\n\n<p>Once you open the ticket, you have to add items to that order. In our case, user will click on a link having item id and price level id as parameters so we can use these values to identify the item and then make a call to add that item to order.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NishantUpadhyay-BTC\/2eafea721b143cfce8969bc14040a85c.js\"><\/script><\/p>\n\n\n\n<p>In response you can see that your added item is embedded inside the order. Now it&#8217;s time to pay for what you bought from the home page. We have to make another API call with the open ticket id.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NishantUpadhyay-BTC\/85f09e39288ab69e595a289e59897ade.js\"><\/script><\/p>\n\n\n\n<p>Once you finish the payment the ticket will be closed automatically. You can get list of all the tickets from the POS using its API.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NishantUpadhyay-BTC\/bfcc78d435c01ab849b299a75ddc8d70.js\"><\/script><\/p>\n\n\n\n<p>You can display the ticket information from this response. It contains employee information, revenue area information, total charges, taxes, items details etc.<\/p>\n\n\n\n<p>There is one more API which we can use to get individual ticket details.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NishantUpadhyay-BTC\/628b6531fc05905245a77e7939c4fd64.js\"><\/script><\/p>\n\n\n\n<p>You can also find the current status of the ticket and its open\/close dates.<\/p>\n\n\n\n<p>You can find more API related docs\u00a0<a href=\"https:\/\/panel.omnivore.io\/docs\/api\/0.1\" target=\"_blank\" rel=\"noopener noreferrer\">here.<\/a>\u00a0You can find fully functional Rails application with Omnivore API at\u00a0this github\u00a0repository.<\/p>\n\n\n\n<p>That&#8217;s it for now. For more interesting stuff, Keep Reading!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\"><b>Click here for more<\/b> details<\/a>&#8230;<\/h3>\n\n\n\n<p>At<a href=\"https:\/\/www.botreetechnologies.com\/\"> BoTree Technologies<\/a>, we build enterprise applications with our RoR team of 25+ engineers.<\/p>\n\n\n\n<p>We also specialize in Python, RPA, AI, Django, JavaScript and ReactJS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\">Consulting is free<\/a> &#8211; let us help you grow!<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Omnivore API provides the universal Point of Sale (POS) API&#8230;.<\/p>\n","protected":false},"author":4,"featured_media":13902,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-1928","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Installing Omnivore API in Ruby on Rails Application<\/title>\n<meta name=\"description\" content=\"Integrate Omnivore API in Ruby on Rails development to access every action and detail in PoS transactions. Here&#039;s how to install Omnivore API in your Ruby on Rails project.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing Omnivore API in Ruby on Rails Application\" \/>\n<meta property=\"og:description\" content=\"Integrate Omnivore API in Ruby on Rails development to access every action and detail in PoS transactions. Here&#039;s how to install Omnivore API in your Ruby on Rails project.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-27T08:40:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-08T09:44:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nishant Upadhyay\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nishant Upadhyay\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/\"},\"author\":{\"name\":\"Nishant Upadhyay\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467\"},\"headline\":\"Installing Omnivore API in Ruby on Rails Application\",\"datePublished\":\"2017-01-27T08:40:03+00:00\",\"dateModified\":\"2021-01-08T09:44:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/\"},\"wordCount\":876,\"commentCount\":1,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/\",\"name\":\"Installing Omnivore API in Ruby on Rails Application\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg\",\"datePublished\":\"2017-01-27T08:40:03+00:00\",\"dateModified\":\"2021-01-08T09:44:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467\"},\"description\":\"Integrate Omnivore API in Ruby on Rails development to access every action and detail in PoS transactions. Here's how to install Omnivore API in your Ruby on Rails project.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg\",\"width\":1920,\"height\":1280,\"caption\":\"omnivore api documentation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing Omnivore API in Ruby on Rails Application\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467\",\"name\":\"Nishant Upadhyay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png\",\"caption\":\"Nishant Upadhyay\"},\"description\":\"Nishant is Practice Lead of Ruby on Rails. He is a Blogger, Mentor, and Rubyst. He has expertise in Javascript as well. He is highly skilled in designing, developing and testing web applications. He enjoys being challenged and engaging with projects that require him to work outside his comfort and knowledge set.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing Omnivore API in Ruby on Rails Application","description":"Integrate Omnivore API in Ruby on Rails development to access every action and detail in PoS transactions. Here's how to install Omnivore API in your Ruby on Rails project.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/","og_locale":"en_US","og_type":"article","og_title":"Installing Omnivore API in Ruby on Rails Application","og_description":"Integrate Omnivore API in Ruby on Rails development to access every action and detail in PoS transactions. Here's how to install Omnivore API in your Ruby on Rails project.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2017-01-27T08:40:03+00:00","article_modified_time":"2021-01-08T09:44:22+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg","type":"image\/jpeg"}],"author":"Nishant Upadhyay","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Nishant Upadhyay","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/"},"author":{"name":"Nishant Upadhyay","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467"},"headline":"Installing Omnivore API in Ruby on Rails Application","datePublished":"2017-01-27T08:40:03+00:00","dateModified":"2021-01-08T09:44:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/"},"wordCount":876,"commentCount":1,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/","url":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/","name":"Installing Omnivore API in Ruby on Rails Application","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg","datePublished":"2017-01-27T08:40:03+00:00","dateModified":"2021-01-08T09:44:22+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467"},"description":"Integrate Omnivore API in Ruby on Rails development to access every action and detail in PoS transactions. Here's how to install Omnivore API in your Ruby on Rails project.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/01\/omnivore-api-ruby-rails.jpg","width":1920,"height":1280,"caption":"omnivore api documentation"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/omnivore-api-ruby-rails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Installing Omnivore API in Ruby on Rails Application"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467","name":"Nishant Upadhyay","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png","caption":"Nishant Upadhyay"},"description":"Nishant is Practice Lead of Ruby on Rails. He is a Blogger, Mentor, and Rubyst. He has expertise in Javascript as well. He is highly skilled in designing, developing and testing web applications. He enjoys being challenged and engaging with projects that require him to work outside his comfort and knowledge set."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=1928"}],"version-history":[{"count":2,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1928\/revisions"}],"predecessor-version":[{"id":14889,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1928\/revisions\/14889"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/13902"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=1928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=1928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=1928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}