Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R ruby-3dcart
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libraries
  • ruby-3dcart
  • Wiki
  • Configuration

Configuration · Changes

Page history
Updated Configuration (markdown) authored Jul 25, 2013 by zvika-rubin's avatar zvika-rubin
Show whitespace changes
Inline Side-by-side
Configuration.md
View page @ 9a1982a4
...@@ -4,7 +4,7 @@ First, you'll need to get your API token from the 3D Cart admin interface, usual ...@@ -4,7 +4,7 @@ First, you'll need to get your API token from the 3D Cart admin interface, usual
### Rails ### Rails
create a yml file under `config/initializers/threedeecart.yml` create a yml file under `config/threedeecart.yml`
``` yaml ``` yaml
wsdl: http://api.3dcart.com/cart.asmx?WSDL wsdl: http://api.3dcart.com/cart.asmx?WSDL
api_token: <YOUR_API_TOKEN> api_token: <YOUR_API_TOKEN>
...@@ -12,7 +12,7 @@ api_token: <YOUR_API_TOKEN> ...@@ -12,7 +12,7 @@ api_token: <YOUR_API_TOKEN>
next, create an initializer under `config/initializers/threedeecart.rb` next, create an initializer under `config/initializers/threedeecart.rb`
``` ruby ``` ruby
ThreeDeeCart.load_configuration(File.join(Rails.root, "config", "threedeecart.yml") ThreeDeeCart.load_configuration(File.join(Rails.root, "config", "threedeecart.yml"))
``` ```
And that's it! And that's it!
......
Clone repository
  • Configuration
  • Home
  • Installation
  • UpdateOrderShipment
  • UpdateOrderStatus
  • editCustomer
  • getCustomer
  • getCustomerCount
  • getOrder
  • getOrderCount
  • getOrderStatus
  • getProduct
  • getProductCount
  • getProductInventory
  • updateProductInventory