Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions doc_src/ContributionGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ gems are built into the `pkg` directory and will have a name of the form `softla

You can install your modified gem to your system with the gem command:

$ bundle gem install pkg/softlayer_api-<version>.gem
$ bundle exec gem install pkg/softlayer_api-<version>.gem

(don't forget to substitute the version you are installing where the `<version>` tag appears in the command line above)

Expand Down Expand Up @@ -138,4 +138,3 @@ If you intend to offer new models, please carefully review the Model Layer docum
# Submitting Changes

Contributions are made to the `softlayer_api` Gem by submitting a pull-request on GitHub. The community will review pull requests and offer constructive advice on improvements. The determination on whether a pull-request will be accepted into the gem is made at the sole discretion of SoftLayer with the wise counsel of the community.

4 changes: 2 additions & 2 deletions lib/softlayer/ProductPackage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ProductPackage < ModelBase
##
# :attr_reader: available_locations
# The list of locations where this product package is available.
sl_attr :available_locations, 'availableLocations'
sl_attr :available_locations, 'regions'

##
# Retrieve the set of product categories needed to make an order for this product package.
Expand Down Expand Up @@ -230,7 +230,7 @@ def self.additional_products_package(client = nil)
"groups.prices.requiredCoreCount" ].join(",") + "]"

def self.default_object_mask(root)
"#{root}[id,name,description,availableLocations.location]"
"#{root}[id,name,description,regions]"
end
end
end # SoftLayer