wallasfaria / magento-ruby Goto Github PK
View Code? Open in Web Editor NEWRuby library to consume the magento 2 api
Ruby library to consume the magento 2 api
Hi @WallasFaria thanks for the nice gem! How can we generate the access token to use in the API?
Currently, our client has added a new integration, and provided the consumer_key
, consumer_secret
, access_token
, and access_token_secret
to us.
Using the provided access_token
or access_token_secret
in the init code:
Magento.configure do |config|
config.url = 'URL_PROVIDED'
config.token = 'access_token' ## or also tried with access_token_secret
config.store = :default # optional, Default is :all
end
and then:
Magento::Product.all
Results in a Magento::MagentoError (Failed access to the magento server)
.
Any help is appreciated. Thanks!
Attempting to fetch or update a Magento product that has a video attached to it, returns:
NameError (uninitialized constant Magento::VideoContent)
Did you mean? ViewComponent
After removing the video from the product, everything worked as normal.
Haven't had time to look into the issue deeper - may have some time in a few days, however thought I would flag the issue.
PS. Love your work. ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.