-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from aaronjensen/properties-hash
Properties and local properties are separate hashes
- Loading branch information
Showing
33 changed files
with
434 additions
and
513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
module Messaging | ||
module Controls | ||
module LocalProperties | ||
def self.example | ||
{ | ||
SomeLocalProperty.name => SomeLocalProperty.value | ||
} | ||
end | ||
|
||
module SomeLocalProperty | ||
def self.name | ||
:some_local_property | ||
end | ||
|
||
def self.value | ||
'some local property value' | ||
end | ||
end | ||
|
||
module Random | ||
def self.example | ||
{ | ||
SomeLocalProperty.name => SomeLocalProperty.value | ||
} | ||
end | ||
|
||
module SomeLocalProperty | ||
def self.name | ||
:some_local_property | ||
end | ||
|
||
def self.value | ||
SecureRandom.hex | ||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.