Class: PhraseApp::RequestParams::StyleguideParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::StyleguideParams
- Defined in:
- lib/phraseapp-ruby.rb
Instance Method Summary collapse
-
#audience=(val) ⇒ Object
:audience, :business, :company_branding, :formatting, :glossary_terms, :grammar_consistency, :grammatical_person, :literal_translation, :overall_tone, :samples, :target_audience, :title, :vocabulary_type,.
- #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
:audience, :business, :company_branding, :formatting, :glossary_terms, :grammar_consistency, :grammatical_person, :literal_translation, :overall_tone, :samples, :target_audience, :title, :vocabulary_type,
630 631 632 |
# File 'lib/phraseapp-ruby.rb', line 630 def audience=(val) self.audience = val end |
#business=(val) ⇒ Object
634 635 636 |
# File 'lib/phraseapp-ruby.rb', line 634 def business=(val) self.business = val end |
#company_branding=(val) ⇒ Object
638 639 640 |
# File 'lib/phraseapp-ruby.rb', line 638 def company_branding=(val) self.company_branding = val end |
#formatting=(val) ⇒ Object
642 643 644 |
# File 'lib/phraseapp-ruby.rb', line 642 def formatting=(val) self.formatting = val end |
#glossary_terms=(val) ⇒ Object
646 647 648 |
# File 'lib/phraseapp-ruby.rb', line 646 def glossary_terms=(val) self.glossary_terms = val end |
#grammar_consistency=(val) ⇒ Object
650 651 652 |
# File 'lib/phraseapp-ruby.rb', line 650 def grammar_consistency=(val) self.grammar_consistency = val end |
#grammatical_person=(val) ⇒ Object
654 655 656 |
# File 'lib/phraseapp-ruby.rb', line 654 def grammatical_person=(val) self.grammatical_person = val end |
#literal_translation=(val) ⇒ Object
658 659 660 |
# File 'lib/phraseapp-ruby.rb', line 658 def literal_translation=(val) self.literal_translation = val end |
#overall_tone=(val) ⇒ Object
662 663 664 |
# File 'lib/phraseapp-ruby.rb', line 662 def overall_tone=(val) self.overall_tone = val end |
#samples=(val) ⇒ Object
666 667 668 |
# File 'lib/phraseapp-ruby.rb', line 666 def samples=(val) self.samples = val end |
#target_audience=(val) ⇒ Object
670 671 672 |
# File 'lib/phraseapp-ruby.rb', line 670 def target_audience=(val) self.target_audience = val end |
#title=(val) ⇒ Object
674 675 676 |
# File 'lib/phraseapp-ruby.rb', line 674 def title=(val) self.title = val end |
#validate ⇒ Object
682 683 684 685 686 |
# File 'lib/phraseapp-ruby.rb', line 682 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
678 679 680 |
# File 'lib/phraseapp-ruby.rb', line 678 def vocabulary_type=(val) self.vocabulary_type = val end |