Skip to content

Commit 087b9b7

Browse files
authored
Fix invalid namespace (#8)
Correct namespace is PromostandardsRubyClient not PromoStandardsRubyClient.
1 parent 1833133 commit 087b9b7

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

bin/console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33

44
require "bundler/setup"
5-
require "promostandards/ruby/client"
5+
require "promostandards_ruby_client"
66

77
# You can add fixtures and/or initialization code here to make experimenting
88
# with your gem easier. You can also use a different console, if you like.

bin/setup

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ IFS=$'\n\t'
44
set -vx
55

66
bundle install
7-
8-
# Do any other automated setup that you need to do here

lib/promostandards_ruby_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# frozen_string_literal: true
22

3-
# PromoStandardsRubyClient is an unofficial Ruby client for interacting with
3+
# PromostandardsRubyClient is an unofficial Ruby client for interacting with
44
# PromoStandards API services, providing a flexible configuration interface
55
# for accessing services such as Product Data, Media Content, and Pricing.
66
#
77
# This gem allows users to set up a client with options for service URL and
88
# logging, making it easy to integrate PromoStandards functionality into
99
# Ruby applications.
10-
module PromoStandardsRubyClient
10+
module PromostandardsRubyClient
1111
require_relative "promostandards_ruby_client/version"
1212
require_relative "promostandards_ruby_client/client"
1313
require_relative "promostandards_ruby_client/configuration"

lib/promostandards_ruby_client/services/product_pricing_and_configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module Services
1313
# == Usage
1414
#
1515
# # Example call to get product configuration and pricing
16-
# client = PromoStandardsRubyClient::Client.new
16+
# client = PromostandardsRubyClient::Client.new
1717
# response = client.get_configuration_and_pricing("G500")
1818
#
1919
# == Methods

0 commit comments

Comments
 (0)