Class: PhraseApp::RequestParams::StyleguideParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::StyleguideParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
StyleguideParams
Parameters:
- audience
-
audience
- business
-
business
- company_branding
-
company_branding
- formatting
-
formatting
- glossary_terms
-
glossary_terms
- grammar_consistency
-
grammar_consistency
- grammatical_person
-
grammatical_person
- literal_translation
-
literal_translation
- overall_tone
-
overall_tone
- samples
-
samples
- target_audience
-
target_audience
- title
-
title
- vocabulary_type
-
vocabulary_type
Instance Method Summary collapse
- #audience=(val) ⇒ Object
- #business=(val) ⇒ Object
- #company_branding=(val) ⇒ Object
- #formatting=(val) ⇒ Object
- #glossary_terms=(val) ⇒ Object
- #grammar_consistency=(val) ⇒ Object
- #grammatical_person=(val) ⇒ Object
- #literal_translation=(val) ⇒ Object
- #overall_tone=(val) ⇒ Object
- #samples=(val) ⇒ Object
- #target_audience=(val) ⇒ Object
- #title=(val) ⇒ Object
- #validate ⇒ Object
- #vocabulary_type=(val) ⇒ Object
Instance Method Details
#audience=(val) ⇒ Object
744 745 746 |
# File 'lib/phraseapp-ruby.rb', line 744 def audience=(val) self.audience = val end |
#business=(val) ⇒ Object
748 749 750 |
# File 'lib/phraseapp-ruby.rb', line 748 def business=(val) self.business = val end |
#company_branding=(val) ⇒ Object
752 753 754 |
# File 'lib/phraseapp-ruby.rb', line 752 def company_branding=(val) self.company_branding = val end |
#formatting=(val) ⇒ Object
756 757 758 |
# File 'lib/phraseapp-ruby.rb', line 756 def formatting=(val) self.formatting = val end |
#glossary_terms=(val) ⇒ Object
760 761 762 |
# File 'lib/phraseapp-ruby.rb', line 760 def glossary_terms=(val) self.glossary_terms = val end |
#grammar_consistency=(val) ⇒ Object
764 765 766 |
# File 'lib/phraseapp-ruby.rb', line 764 def grammar_consistency=(val) self.grammar_consistency = val end |
#grammatical_person=(val) ⇒ Object
768 769 770 |
# File 'lib/phraseapp-ruby.rb', line 768 def grammatical_person=(val) self.grammatical_person = val end |
#literal_translation=(val) ⇒ Object
772 773 774 |
# File 'lib/phraseapp-ruby.rb', line 772 def literal_translation=(val) self.literal_translation = val end |
#overall_tone=(val) ⇒ Object
776 777 778 |
# File 'lib/phraseapp-ruby.rb', line 776 def overall_tone=(val) self.overall_tone = val end |
#samples=(val) ⇒ Object
780 781 782 |
# File 'lib/phraseapp-ruby.rb', line 780 def samples=(val) self.samples = val end |
#target_audience=(val) ⇒ Object
784 785 786 |
# File 'lib/phraseapp-ruby.rb', line 784 def target_audience=(val) self.target_audience = val end |
#title=(val) ⇒ Object
788 789 790 |
# File 'lib/phraseapp-ruby.rb', line 788 def title=(val) self.title = val end |
#validate ⇒ Object
796 797 798 799 800 |
# File 'lib/phraseapp-ruby.rb', line 796 def validate if self.title == nil || self.title == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"title\" of \"StyleguideParams\" not set") end end |
#vocabulary_type=(val) ⇒ Object
792 793 794 |
# File 'lib/phraseapp-ruby.rb', line 792 def vocabulary_type=(val) self.vocabulary_type = val end |