diff options
| author | Florent Peyraud | 2017-07-11 10:48:15 +0200 |
|---|---|---|
| committer | Florent Peyraud | 2017-07-11 10:48:15 +0200 |
| commit | 4db6d356602660bdf1fd02e713beaa068cb0fa0b (patch) | |
| tree | 9c44c8fa9dc6c4c4aa284490ab17c87565833986 /lib | |
| parent | 485adab2f70fb071f936bb32f05fe6e0f88b6231 (diff) | |
| parent | ade9962a6de04a0b033c060c859a0676869db43f (diff) | |
| download | chouette-core-4db6d356602660bdf1fd02e713beaa068cb0fa0b.tar.bz2 | |
Merge branch 'master' of github.com:AF83/stif-boiv
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/html_element.rb | 2 | ||||
| -rw-r--r-- | lib/stif/permission_translator.rb | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/html_element.rb b/lib/html_element.rb index 469fd7565..57b08eb52 100644 --- a/lib/html_element.rb +++ b/lib/html_element.rb @@ -1,4 +1,6 @@ class HTMLElement + attr_reader :content, :options, :tag_name + def initialize(tag_name, content = nil, options = nil) @tag_name = tag_name @content = content diff --git a/lib/stif/permission_translator.rb b/lib/stif/permission_translator.rb new file mode 100644 index 000000000..7032f910a --- /dev/null +++ b/lib/stif/permission_translator.rb @@ -0,0 +1,7 @@ +module Stif + module PermissionTranslator extend self + def translate(sso_extra_permissions) + %w{sessions:create} + end + end +end |
