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

Target directory for API methods #292

Closed
jmthomas opened this issue May 3, 2016 · 1 comment
Closed

Target directory for API methods #292

jmthomas opened this issue May 3, 2016 · 1 comment
Labels
Milestone

Comments

@jmthomas
Copy link
Member

@jmthomas jmthomas commented May 3, 2016

A reusable target should have a dedicated directory for scripts which implement API methods useful for other people using the target. We should standardize on the directory name and file name which contains API methods. I'd also like to see an examples script using the APIs so it's obvious how to use the target.

If we keep everything in the lib folder perhaps something like this:
/lib/target_api.rb
/lib/target_example.rb

@ryanatball
Copy link
Member

@ryanatball ryanatball commented May 3, 2016

The api should go into lib. Any procedure examples should probably go into a new procedures folder though.

@ryanatball ryanatball added the question label May 5, 2016
jmthomas pushed a commit that referenced this issue Sep 12, 2016
jmthomas added a commit that referenced this issue Oct 3, 2016
Add target procedures dir to path #292
@jmthomas jmthomas closed this Oct 4, 2016
@ryanatball ryanatball added the feature label Dec 6, 2016
@ryanatball ryanatball added this to the v3.8.3 milestone Dec 6, 2016
@ryanatball ryanatball removed the question label Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.