Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFSDK-7 Adds a delete and codebase endpoints #8

Merged
merged 3 commits into from
Sep 12, 2017
Merged

SFSDK-7 Adds a delete and codebase endpoints #8

merged 3 commits into from
Sep 12, 2017

Conversation

nikgregory
Copy link
Contributor

No description provided.

@nikgregory nikgregory changed the title SFSDK-7 Adds a delete SFSDK-7 Adds a delete and codebase endpoints Sep 4, 2017
@@ -0,0 +1,16 @@
module SFRest
# List codebases on the

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incomplete sentence

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

end

# Lists the codebases
# @return [Hash] A hash of codebases configured for the factory

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sentence ending period

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -83,13 +83,28 @@ def site_list
# @param [String] sitename The name of the site to create
# @param [Integer] group_id The Id of the group the site is to be a member of
# @param [String] install_profile The install profile to use when creating the site
def create_site(sitename, group_id, install_profile = nil)
def create_site(sitename, group_id, install_profile = nil, codebase = nil)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing param section for codebase

# @param [String] sitename The name of the site to create
# @param [Integer] group_id The Id of the group the site is to be a member of
# @param [String] install_profile The install profile to use when creating the site
alias create create_site

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing param section for codebase

site_id = site_data['site_id']
site_name = site_data['site']
task_id = site_data['task_id']
it 'can create a site' do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it 'can delete a site' do

- add  params for codebase in create
- fix incorrect name in site delete spec
- missing punctuation
@nikgregory nikgregory merged commit 26eafaf into master Sep 12, 2017
@nikgregory nikgregory deleted the SFSDK-7 branch May 9, 2018 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants