Files
telecom-platform/sdk/ruby/lib/telecom_sdk/rating_plans_api.rb
T
nutcas3 ea20dfb302 docs: Add Ruby SDK README with comprehensive API documentation and implement modular architecture with HTTParty integration
- Add README.md with installation instructions, architecture overview, and API examples for all SDK modules
- Refactor TelecomSDK::Client to use modular API clients (SubscriberAPI, UsageAPI, PaymentAPI, RatingPlanAPI, SystemAPI, GraphQLAPI)
- Add AuthProvider class with API key and JWT token support (generate_jwt_token, validate_jwt_token methods)
- Add HTTPClient base class with retry
2026-04-25 04:57:00 +03:00

17 lines
282 B
Ruby

module TelecomSDK
# API for rating plan management
class RatingPlanAPI
def initialize(client)
@client = client
end
def list
@client.get("/v1/rating-plans")
end
def get(plan_id)
@client.get("/v1/rating-plans/#{plan_id}")
end
end
end