Class: Bskyrb::ComAtprotoServerDescribeserver::Links
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerDescribeserver::Links
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#privacyPolicy ⇒ Object
Returns the value of attribute privacyPolicy.
-
#termsOfService ⇒ Object
Returns the value of attribute termsOfService.
Class Method Summary collapse
Instance Attribute Details
#privacyPolicy ⇒ Object
Returns the value of attribute privacyPolicy.
1862 1863 1864 |
# File 'lib/bskyrb/generated_classes.rb', line 1862 def privacyPolicy @privacyPolicy end |
#termsOfService ⇒ Object
Returns the value of attribute termsOfService.
1864 1865 1866 |
# File 'lib/bskyrb/generated_classes.rb', line 1864 def termsOfService @termsOfService end |
Class Method Details
.from_hash(hash) ⇒ Object
1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 |
# File 'lib/bskyrb/generated_classes.rb', line 1866 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:privacyPolicy=, hash["privacyPolicy"]) instance.send(:termsOfService=, hash["termsOfService"]) instance end |