Class: PhraseApp::StyleguideParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::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,
605 606 607 |
# File 'lib/phraseapp-ruby.rb', line 605 def audience=(val) self.audience = val end |
#business=(val) ⇒ Object
609 610 611 |
# File 'lib/phraseapp-ruby.rb', line 609 def business=(val) self.business = val end |
#company_branding=(val) ⇒ Object
613 614 615 |
# File 'lib/phraseapp-ruby.rb', line 613 def company_branding=(val) self.company_branding = val end |
#formatting=(val) ⇒ Object
617 618 619 |
# File 'lib/phraseapp-ruby.rb', line 617 def formatting=(val) self.formatting = val end |
#glossary_terms=(val) ⇒ Object
621 622 623 |
# File 'lib/phraseapp-ruby.rb', line 621 def glossary_terms=(val) self.glossary_terms = val end |
#grammar_consistency=(val) ⇒ Object
625 626 627 |
# File 'lib/phraseapp-ruby.rb', line 625 def grammar_consistency=(val) self.grammar_consistency = val end |
#grammatical_person=(val) ⇒ Object
629 630 631 |
# File 'lib/phraseapp-ruby.rb', line 629 def grammatical_person=(val) self.grammatical_person = val end |
#literal_translation=(val) ⇒ Object
633 634 635 |
# File 'lib/phraseapp-ruby.rb', line 633 def literal_translation=(val) self.literal_translation = val end |
#overall_tone=(val) ⇒ Object
637 638 639 |
# File 'lib/phraseapp-ruby.rb', line 637 def overall_tone=(val) self.overall_tone = val end |
#samples=(val) ⇒ Object
641 642 643 |
# File 'lib/phraseapp-ruby.rb', line 641 def samples=(val) self.samples = val end |
#target_audience=(val) ⇒ Object
645 646 647 |
# File 'lib/phraseapp-ruby.rb', line 645 def target_audience=(val) self.target_audience = val end |
#title=(val) ⇒ Object
649 650 651 |
# File 'lib/phraseapp-ruby.rb', line 649 def title=(val) self.title = val end |
#validate ⇒ Object
657 658 659 660 661 |
# File 'lib/phraseapp-ruby.rb', line 657 def validate if self.title == nil || self.title == "" raise PhraseApp::ParamsValidationError.new("Required parameter \"title\" of \"StyleguideParams\" not set") end end |
#vocabulary_type=(val) ⇒ Object
653 654 655 |
# File 'lib/phraseapp-ruby.rb', line 653 def vocabulary_type=(val) self.vocabulary_type = val end |