aboutsummaryrefslogtreecommitdiff
path: root/scene.go
diff options
context:
space:
mode:
authorCollin Guarino <collin.guarino@gmail.com>2016-02-16 00:29:26 -0500
committerCollin Guarino <collin.guarino@gmail.com>2016-02-16 00:29:26 -0500
commitf80f7c49e63ddbb1acb7dd365820c84e75ae1a30 (patch)
treea279af648915b4d11b079a8b6d1b29aa9f26fef7 /scene.go
parent699afeb32d1936d059bcbe8a092a142c523819cc (diff)
Changed documentation header standard project wide to a less passive voice.
Diffstat (limited to 'scene.go')
-rw-r--r--scene.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene.go b/scene.go
index 5cd7da8..8c55d23 100644
--- a/scene.go
+++ b/scene.go
@@ -30,7 +30,7 @@ type Scene struct {
ID string `json:",omitempty"`
}
-// Bridge.GetScenes will get attributes for all scenes.
+// Bridge.GetScenes gets the attributes for all scenes.
func (bridge *Bridge) GetAllScenes() ([]Scene, error) {
uri := fmt.Sprintf("/api/%s/scenes", bridge.Username)
body, _, err := bridge.Get(uri)
@@ -53,7 +53,7 @@ func (bridge *Bridge) GetAllScenes() ([]Scene, error) {
return scenesList, nil
}
-// Bridge.GetScene will get the attributes for an individual scene.
+// Bridge.GetScene gets the attributes for an individual scene.
// This is used to optimize time when updating the state of the scene.
// Note: The ID is not an index, it's a unique key generated for each scene.
func (bridge *Bridge) GetScene(id string) (Scene, error) {